Fix window position autosave

This commit is contained in:
1024jp 2016-09-22 02:59:11 +09:00
parent ba81c386e2
commit 309cc7c3d6
2 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,15 @@
Change Log
==========================
develop
--------------------------
### Fixes
- [beta] Fix an issue where initial window position was not stored.
3.0.0-beta.2 (144)
--------------------------

View File

@ -70,6 +70,7 @@ final class DocumentWindowController: NSWindowController {
// -> It's set as false by default if the window controller was invoked from a storyboard.
self.shouldCascadeWindows = true
self.window?.setFrameAutosaveName("document")
let window = self.window as! AlphaWindow