Add wasm things to menus, fix up event handling
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
d1d08e4704
commit
48a01f0b22
6 changed files with 74 additions and 11 deletions
|
|
@ -360,6 +360,12 @@ void Scene::onHoverKey(const HoverKeyEvent& e) {
|
|||
window::generateScreenshot();
|
||||
e.consume(this);
|
||||
}
|
||||
#ifdef DISTRHO_OS_WASM
|
||||
if (e.key == GLFW_KEY_F11 && (e.mods & RACK_MOD_MASK) == 0) {
|
||||
APP->window->setFullScreen(!APP->window->isFullScreen());
|
||||
e.consume(this);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Module selections
|
||||
if (e.keyName == "a" && (e.mods & RACK_MOD_MASK) == RACK_MOD_CTRL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue