[
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:
2003年3月25日 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