Fix bool-automation anchor
Typo sneaked in from ff2f93497...cc7de475f2
This commit is contained in:
parent
9b3ebd82ab
commit
7d90ad4023
@ -743,7 +743,7 @@ ControlList::add (double when, double value, bool with_guards, bool with_initial
|
||||
|
||||
if (when >= 1) {
|
||||
if (_desc.toggled) {
|
||||
const double opp_val = ((value < 0.5) ? 1.0 : 0.0);
|
||||
const double opp_val = ((value >= 0.5) ? 1.0 : 0.0);
|
||||
_events.insert (_events.end(), new ControlEvent (0, opp_val));
|
||||
DEBUG_TRACE (DEBUG::ControlList, string_compose ("@%1 added toggled value %2 at zero\n", this, opp_val));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user