We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f159cd commit e5dff8eCopy full SHA for e5dff8e
1 file changed
Source/Processors/Editors/PopupTimeEditor.h
@@ -109,8 +109,8 @@ class PLUGIN_API PopupTimeEditor : public Component,
109
secondEditor.getText().getDoubleValue());
110
int t1 = newTv->getTimeInMilliseconds();
111
int t2 = p->getTimeValue()->getMaxTimeInMilliseconds();
112
- if (newTv->getTimeInMilliseconds() < p->getTimeValue()->getMaxTimeInMilliseconds()
113
- && newTv->getTimeInMilliseconds() > p->getTimeValue()->getMinTimeInMilliseconds())
+ if (newTv->getTimeInMilliseconds() <= p->getTimeValue()->getMaxTimeInMilliseconds()
+ && newTv->getTimeInMilliseconds() >= p->getTimeValue()->getMinTimeInMilliseconds())
114
p->setNextValue (newTv->toString(), true);
115
}
116
0 commit comments