feat: default compact mode to the top-right corner

This commit is contained in:
2026-10-10 22:07:07 +02:00
parent a6bebb05c0
commit 25d674d84d
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ final class CompactWindowController: NSObject {
nonisolated static func initialFrame(aspect: Double, visibleFrame: NSRect) -> NSRect {
let usable = usableFrame(visibleFrame)
let size = compactSize(aspect: aspect, width: 320, available: usable.size)
return NSRect(x: usable.maxX - size.width, y: usable.minY, width: size.width, height: size.height)
return NSRect(x: usable.maxX - size.width, y: usable.maxY - size.height, width: size.width, height: size.height)
}
nonisolated static func snappedFrame(_ frame: NSRect, visibleFrame: NSRect) -> NSRect {