mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Set proper animation behavior for window
This causes a window to animate when it opens just like windows in other Lion apps do.
This commit is contained in:
@@ -183,6 +183,7 @@
|
||||
|
||||
#if (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7)
|
||||
[win setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
|
||||
[win setAnimationBehavior:NSWindowAnimationBehaviorDocumentWindow];
|
||||
#endif
|
||||
|
||||
return self;
|
||||
|
||||
Reference in New Issue
Block a user