feat: changed positioning of windows from the center to 25% higher than the center

This commit is contained in:
Serhiy Mytrovtsiy
2023-12-09 17:27:41 +01:00
parent 97d884c860
commit 7fec1081b7
3 changed files with 3 additions and 3 deletions

View File

@@ -221,7 +221,7 @@ class SettingsWindow: NSWindow, NSWindowDelegate, NSToolbarDelegate {
private func positionCenter() {
self.setFrameOrigin(NSPoint(
x: (NSScreen.main!.frame.width - SettingsWindow.size.width)/2,
y: (NSScreen.main!.frame.height - SettingsWindow.size.height)/2
y: ((NSScreen.main!.frame.height - SettingsWindow.size.height)/1.75)
))
}
}