AppWindow.swift 354 B

1234567891011
  1. import CoreGraphics
  2. enum AppWindow {
  3. static let width: CGFloat = 1140
  4. static let height: CGFloat = 720
  5. static let minWidth: CGFloat = width
  6. static let minHeight: CGFloat = height
  7. /// Extra top inset when the window is in macOS full screen (hidden title bar has no safe area there).
  8. static let fullScreenTopInset: CGFloat = 28
  9. }