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
Call onAction when clicking ParamWidgets.
tags/v1.0.0
Andrew Belt
5 years ago
parent
a5d7a0b75b
commit
9ee9ef0352
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
src/app/ParamWidget.cpp
+ 5
- 0
src/app/ParamWidget.cpp
View File
@@ -147,6 +147,11 @@ void ParamWidget::onButton(const event::Button &e) {
if (paramQuantity) {
APP->scene->rack->touchedParam = this;
}
// Call onAction
event::Action eAction;
onAction(eAction);
e.consume(this);
}
Write
Preview
Loading…
Cancel
Save