Improve PiP

Fix #186
Fix #196
This commit is contained in:
Arkadiusz Fal
2022-08-26 22:17:21 +02:00
parent 99881ccc23
commit 60f38a80aa
13 changed files with 173 additions and 104 deletions

View File

@@ -47,9 +47,17 @@ enum Windows: String, CaseIterable {
}
}
func hide() {
window?.close()
}
func toggleFullScreen() {
window?.toggleFullScreen(nil)
}
var visible: Bool {
window?.isVisible ?? false
}
}
struct HostingWindowFinder: NSViewRepresentable {