fix(color): Update of 'end' value for trainer channel (#3239)

Fix update of 'end' value in ChannelRange class.
This commit is contained in:
philmoz
2023-03-08 11:51:29 +10:00
committed by GitHub
parent bd1094fd13
commit 42fb0eccf7
+2 -1
View File
@@ -68,7 +68,8 @@ void ChannelRange::updateEnd()
chEnd->setMax(max_ch);
chEnd->setDefault(max_ch);
chEnd->update();
// Force value to fit between new min and max
chEnd->setValue(chEnd->getValue());
}
void ChannelRange::updateStart()