mirror of
https://github.com/yattee/yattee.git
synced 2026-01-18 09:42:33 +00:00
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user