Re: Faster scrolling after resizing window
Re: Faster scrolling after resizing window
- Subject: Re: Faster scrolling after resizing window
- From: corbin dunn <email@hidden>
- Date: Thu, 21 Jan 2016 14:08:36 -0800
That doesn’t make much sense. Try comparing samples before and after. What is different?
corbin
> Il giorno 17 gen 2016, alle ore 5:16 AM, Martin Huber <email@hidden> ha scritto:
>
> I have a strange problem in my application (on 10.11, but I don't know whether that's important). After opening a document, scrolling in the document is a bit sluggish. But after resizing the document window with the mouse or maximizing it by Alt+click on the green title bar button, scrolling is a lot faster.
>
> Resizing the window by code with -[NSWindow zoom:] and -[NSWindow setFrame:display:animate:YES] speeds up scrolling, too, but -[NSWindow setFrame:display:animate:NO] doesn't.
>
> The document window uses a subclass of NSView for displaying its content and doesn't have any layers.
>
> Does anybody know what -[NSWindow zoom:] and -[NSWindow setFrame:display:animate:YES] might change at the window, so that following scrolls are faster?
>
> Martin
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden