Early-out of resize handling if the window has not been presented yet.

This commit is contained in:
Josh Petrie
2015-04-15 16:29:00 -07:00
parent d1424d3e0c
commit 40090ebac5
+1 -1
View File
@@ -993,7 +993,7 @@
- (void)windowDidResize:(id)sender
{
if (!setupDone || fullScreenEnabled) return;
if (!setupDone || fullScreenEnabled || !windowPresented) return;
// NOTE: Since we have no control over when the window may resize (Cocoa
// may resize automatically) we simply set the view to fill the entire