fix(color): model may not be saved when curve 'smooth' property changed (#7225)
This commit is contained in:
@@ -328,6 +328,7 @@ void CurveEditWindow::buildBody(Window* window)
|
||||
new TextButton(iLine, rect_t{0, 0, EdgeTxStyles::EDIT_FLD_WIDTH_NARROW, 0}, STR_SMOOTH, [=]() {
|
||||
g_model.curves[index].smooth = !g_model.curves[index].smooth;
|
||||
Messaging::send(Messaging::CURVE_EDIT);
|
||||
SET_DIRTY();
|
||||
return g_model.curves[index].smooth;
|
||||
});
|
||||
smooth->check(g_model.curves[index].smooth);
|
||||
|
||||
Reference in New Issue
Block a user