Faster scrolling after resizing window
Faster scrolling after resizing window
- Subject: Faster scrolling after resizing window
- From: Martin Huber <email@hidden>
- Date: Sun, 17 Jan 2016 14:16:42 +0100
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