mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +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