feat: snap launcher on release at upper-third alignment
This commit is contained in:
@@ -8,7 +8,7 @@ public struct LauncherAlignment: Sendable {
|
||||
// Whole-point origins keep the guides aligned with AppKit's window positioning.
|
||||
targetFrame = CGRect(
|
||||
x: (visibleFrame.midX - windowFrame.width / 2).rounded(.down),
|
||||
y: (visibleFrame.midY - windowFrame.height / 2).rounded(.down),
|
||||
y: (visibleFrame.maxY - visibleFrame.height / 5 - windowFrame.height).rounded(.down),
|
||||
width: windowFrame.width,
|
||||
height: windowFrame.height
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user