fix(color): Outputs lines not updating after reset (#2661)
`invalidate` is not updating all the line elements
This commit is contained in:
@@ -334,17 +334,17 @@ void ModelOutputsPage::build(FormWindow *window)
|
|||||||
output->curve = 0;
|
output->curve = 0;
|
||||||
output->symetrical = 0;
|
output->symetrical = 0;
|
||||||
storageDirty(EE_MODEL);
|
storageDirty(EE_MODEL);
|
||||||
btn->invalidate();
|
btn->refresh();
|
||||||
});
|
});
|
||||||
menu->addLine(STR_COPY_STICKS_TO_OFS, [=]() {
|
menu->addLine(STR_COPY_STICKS_TO_OFS, [=]() {
|
||||||
copySticksToOffset(ch);
|
copySticksToOffset(ch);
|
||||||
storageDirty(EE_MODEL);
|
storageDirty(EE_MODEL);
|
||||||
btn->invalidate();
|
btn->refresh();
|
||||||
});
|
});
|
||||||
menu->addLine(STR_COPY_TRIMS_TO_OFS, [=]() {
|
menu->addLine(STR_COPY_TRIMS_TO_OFS, [=]() {
|
||||||
copyTrimsToOffset(ch);
|
copyTrimsToOffset(ch);
|
||||||
storageDirty(EE_MODEL);
|
storageDirty(EE_MODEL);
|
||||||
btn->invalidate();
|
btn->refresh();
|
||||||
});
|
});
|
||||||
return 0;
|
return 0;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user