Automatically finalize any delayed update objects
This commit is contained in:
parent
8defbe7569
commit
66d372d810
4 changed files with 38 additions and 7 deletions
|
|
@ -32,7 +32,7 @@ const SkColor4f& CanvasTheme::get_tool_front_color() const {
|
|||
void CanvasTheme::set_back_color(const Vector3f& newBackColor) {
|
||||
if(backColor && newBackColor != backColor->c) {
|
||||
backColor->c = newBackColor;
|
||||
world.delayedUpdateObjectManager.send_update_to_all<BackColor>(backColor, true);
|
||||
world.delayedUpdateObjectManager.send_update_to_all<BackColor>(backColor, false);
|
||||
set_tool_front_color(world.drawProg);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue