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
38
Wiki
Activity
Browse Source
Redraw rails when zooming
tags/v0.5.0
Andrew Belt
7 years ago
parent
ed5f8446b4
commit
2affd8a648
2 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
include/app.hpp
+5
-0
src/app/RackWidget.cpp
+ 1
- 0
include/app.hpp
View File
@@ -141,6 +141,7 @@ struct RackWidget : OpaqueWidget {
Widget *onMouseMove(Vec pos, Vec mouseRel) override;
void onMouseDownOpaque(int button) override;
void onZoom() override;
};
struct RackRail : TransparentWidget {
+ 5
- 0
src/app/RackWidget.cpp
View File
@@ -524,5 +524,10 @@ void RackWidget::onMouseDownOpaque(int button) {
}
}
void RackWidget::onZoom() {
rails->box.size = Vec();
Widget::onZoom();
}
} // namespace rack
Write
Preview
Loading…
Cancel
Save