feat: default compact mode to the top-right corner
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user