fix(color): Outputs lines not updating after reset (#2661)

`invalidate` is not updating all the line elements
This commit is contained in:
Peter Feerick
2022-11-05 20:25:36 +10:00
committed by GitHub
parent 4071eacc92
commit 579758a221
+3 -3
View File
@@ -334,17 +334,17 @@ void ModelOutputsPage::build(FormWindow *window)
output->curve = 0;
output->symetrical = 0;
storageDirty(EE_MODEL);
btn->invalidate();
btn->refresh();
});
menu->addLine(STR_COPY_STICKS_TO_OFS, [=]() {
copySticksToOffset(ch);
storageDirty(EE_MODEL);
btn->invalidate();
btn->refresh();
});
menu->addLine(STR_COPY_TRIMS_TO_OFS, [=]() {
copyTrimsToOffset(ch);
storageDirty(EE_MODEL);
btn->invalidate();
btn->refresh();
});
return 0;
});