Skip to content

Commit

Permalink
fixed color undo
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Feb 19, 2023
1 parent e9a965f commit f897708
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/cpp/re/edit/Color.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ void Color3::editView(AppContext &iCtx)

if(ReGui::ColorEdit(fName, &editedValue))
{
updateAttribute([this, &editedValue] {
fValue = editedValue;
fProvided = true;
});
mergeUpdate(editedValue);
}
}

Expand Down

0 comments on commit f897708

Please sign in to comment.