fix: fullscreening windows stopped working (closes #2129)

This commit is contained in:
Louis Pontoise committed 2022-11-16 22:19:24 +01:00
1 parent 82cfb62804
commit a09dbbfd27
1 file changed
+1 -1
+1 -1
View File
@@ -146,7 +146,7 @@ class Window {
}
func toggleFullscreen() {
if canBeMinDeminOrFullscreened() {
if !canBeMinDeminOrFullscreened() {
NSSound.beep()
return
}