|
@@ -202,9 +202,10 @@ void Scene::onHoverKey(const HoverKeyEvent& e) { |
|
|
} |
|
|
} |
|
|
// Alternate key command for exiting fullscreen, since F11 doesn't work reliably on Mac due to "Show desktop" OS binding. |
|
|
// Alternate key command for exiting fullscreen, since F11 doesn't work reliably on Mac due to "Show desktop" OS binding. |
|
|
if (e.key == GLFW_KEY_ESCAPE && (e.mods & RACK_MOD_MASK) == 0) { |
|
|
if (e.key == GLFW_KEY_ESCAPE && (e.mods & RACK_MOD_MASK) == 0) { |
|
|
if (APP->window->isFullScreen()) |
|
|
|
|
|
|
|
|
if (APP->window->isFullScreen()) { |
|
|
APP->window->setFullScreen(false); |
|
|
APP->window->setFullScreen(false); |
|
|
e.consume(this); |
|
|
|
|
|
|
|
|
e.consume(this); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Module selections |
|
|
// Module selections |
|
|