File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
packages/flutter_box_transform/example/macos/Runner Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -10,27 +10,6 @@ class MainFlutterWindow: NSWindow {
1010
1111 RegisterGeneratedPlugins ( registry: flutterViewController)
1212
13- if #available( macOS 10 . 13 , * ) {
14- // set defult tool bar for better spacing.
15- self . toolbar = NSToolbar ( )
16- self . toolbar? . displayMode = NSToolbar . DisplayMode. iconOnly
17- // self.toolbar?.isVisible = false
18-
19- var localStyle = self . styleMask;
20- localStyle. insert ( . fullSizeContentView)
21- self . styleMask = localStyle;
22- self . titlebarAppearsTransparent = true
23- self . titleVisibility = . hidden
24- self . isOpaque = false
25- self . isMovable = true
26- self . setIsZoomed ( true )
27-
28- // Disable full screen button.
29- // let button = self.standardWindowButton(NSWindow.ButtonType.zoomButton)
30- // button?.isEnabled = false
31-
32- }
33-
3413 super. awakeFromNib ( )
3514 }
3615}
You can’t perform that action at this time.
0 commit comments