Fullscreen handling changes

This commit is contained in:
Arkadiusz Fal
2022-04-03 14:23:42 +02:00
parent 76df80578d
commit 9edcf66557
6 changed files with 66 additions and 53 deletions

View File

@@ -42,6 +42,10 @@ enum Windows: String, CaseIterable {
Self.main.focus()
}
}
func toggleFullScreen() {
window?.toggleFullScreen(nil)
}
}
struct HostingWindowFinder: NSViewRepresentable {