Make some changes: fixes and stuff

This commit is contained in:
Hariharan Mudaliar 2025-10-17 19:59:40 +05:30
commit d0448ec2cb
10 changed files with 209 additions and 150 deletions

View file

@ -41,11 +41,11 @@ class LockScreenPanelManager {
return
}
let panelWidth: CGFloat = 420
let panelHeight: CGFloat = 150
let panelWidth: CGFloat = 460
let panelHeight: CGFloat = 180
let screenFrame = screen.frame
let originX = screenFrame.origin.x + (screenFrame.width / 2) - (panelWidth / 2)
let originY = screenFrame.origin.y + (screenFrame.height / 2) - panelHeight - 40
let originY = screenFrame.origin.y + (screenFrame.height / 2) - panelHeight - 32
let targetFrame = NSRect(x: originX, y: originY, width: panelWidth, height: panelHeight)
let window: NSWindow