fix(color): slow prec not updating fields when changing precision (#5105)
This commit is contained in:
@@ -109,8 +109,10 @@ void MixEditAdvanced::buildBody(Window* form)
|
|||||||
GET_DEFAULT(mix->speedPrec),
|
GET_DEFAULT(mix->speedPrec),
|
||||||
[=](int newValue) {
|
[=](int newValue) {
|
||||||
mix->speedPrec = newValue;
|
mix->speedPrec = newValue;
|
||||||
|
slowUp->clearTextFlag(PREC2);
|
||||||
slowUp->setTextFlag(mix->speedPrec ? PREC2 : PREC1);
|
slowUp->setTextFlag(mix->speedPrec ? PREC2 : PREC1);
|
||||||
slowUp->update();
|
slowUp->update();
|
||||||
|
slowDn->clearTextFlag(PREC2);
|
||||||
slowDn->setTextFlag(mix->speedPrec ? PREC2 : PREC1);
|
slowDn->setTextFlag(mix->speedPrec ? PREC2 : PREC1);
|
||||||
slowDn->update();
|
slowDn->update();
|
||||||
SET_DIRTY();
|
SET_DIRTY();
|
||||||
|
|||||||
Reference in New Issue
Block a user