mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Use global Fn+F shortcut for toggle fullscreen on macOS.
This commit is contained in:
@@ -487,7 +487,7 @@ void Panel::initControls() {
|
||||
}
|
||||
|
||||
void Panel::toggleFullScreen() {
|
||||
if (_fullScreenOrMaximized.current()) {
|
||||
if (_fullScreenOrMaximized.current() || window()->isFullScreen()) {
|
||||
window()->showNormal();
|
||||
} else {
|
||||
window()->showFullScreen();
|
||||
|
Reference in New Issue
Block a user