[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] optimize sizeToFit calls in NSMenuView for NSPopUps
From: |
Serg Stoyan |
Subject: |
Re: [PATCH] optimize sizeToFit calls in NSMenuView for NSPopUps |
Date: |
Tue, 25 Mar 2003 11:52:09 +0200 |
Hello Michael,
> The current code in NSMenuView -setWindowFrameForAttachingToRect: forces
> a call to sizeToFit everytime a popupbutton's menuwindow is called for.
> This patch skips the sizeToFit call if nothing has changed, e.g. almost
> every time you activate the popupbutton.
>
> 2003-3-24 Michael Hanni <michael@deviant-behavior.com>
>
> * Source/NSMenuView (setWindowFrameForAttachingToRect:): optimize
> our usage of sizeToFit.
Thanks. Applied to CVS.
--
Serg Stoyan