AppWindow.swift 437 B

1234567891011121314
  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 for the sidebar when the window is in macOS full screen.
  8. static let fullScreenTopInset: CGFloat = 16
  9. /// Small top breathing room for the embedded Reddit panel.
  10. static let redditTopInset: CGFloat = 30
  11. }