Explorar o código

Fix full screen by removing the window max size cap.

The app was locked to its default dimensions, leaving black margins when entering full screen.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 hai 1 mes
pai
achega
46635c4784
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      smart_printer/AppDelegate.swift

+ 0 - 1
smart_printer/AppDelegate.swift

@@ -95,7 +95,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
         let defaultSize = NSSize(width: AppTheme.windowWidth, height: AppTheme.windowHeight)
         window.setContentSize(defaultSize)
         window.minSize = NSSize(width: AppTheme.windowMinWidth, height: AppTheme.windowMinHeight)
-        window.maxSize = defaultSize
         window.isRestorable = false
         centerWindowOnScreen(window)