Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
glushchenko committed Oct 23, 2021
1 parent 84ffd2c commit 0203b92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FSNotes/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ class ViewController: NSViewController,

if sidebarOutlineView.isFirstLaunch, let x = UserDefaultsManagement.lastScreenX, let y = UserDefaultsManagement.lastScreenY {
view.window?.setFrameOrigin(NSPoint(x: x, y: y))

UserDefaultsManagement.lastScreenX = nil
UserDefaultsManagement.lastScreenY = nil
}

if UserDefaultsManagement.fullScreen {
Expand Down

0 comments on commit 0203b92

Please sign in to comment.