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
Round TipWindow to nearest integer pixel position. Don't consume key presses in MenuOverlay.
tags/v2.0.0
Andrew Belt
4 years ago
parent
c434b14447
commit
7f55e68bbc
2 changed files
with
2 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/app/TipWindow.cpp
+1
-3
src/ui/MenuOverlay.cpp
+ 1
- 1
src/app/TipWindow.cpp
View File
@@ -161,7 +161,7 @@ struct TipWindow : widget::OpaqueWidget {
}
void step() override {
box.pos = parent->box.size.minus(box.size).div(2);
box.pos = parent->box.size.minus(box.size).div(2)
.round()
;
OpaqueWidget::step();
}
+ 1
- 3
src/ui/MenuOverlay.cpp
View File
@@ -39,10 +39,8 @@ 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