This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
43
Wiki
Activity
Browse Source
Make MenuOverlay consume all key presses so Scene doesn't respond to them when a menu is open.
tags/v2.0.0
Andrew Belt
4 years ago
parent
a5c5cdd302
commit
d0b8aecf15
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
src/ui/MenuOverlay.cpp
+ 3
- 1
src/ui/MenuOverlay.cpp
View File
@@ -39,8 +39,10 @@ void MenuOverlay::onHoverKey(const event::HoverKey& e) {
if (e.action == GLFW_PRESS && e.key == GLFW_KEY_ESCAPE) {
requestDelete();
e.consume(this);
}
// Consume all key presses
e.consume(this);
}
Write
Preview
Loading…
Cancel
Save