mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
PixelPaint: Update SelectedColorWidget::m_color consistently
This commit is contained in:
parent
08e5c6f349
commit
dc89ac1463
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ public:
|
||||||
pal.set_color(ColorRole::Background, color);
|
pal.set_color(ColorRole::Background, color);
|
||||||
set_palette(pal);
|
set_palette(pal);
|
||||||
update();
|
update();
|
||||||
|
m_color = color;
|
||||||
}
|
}
|
||||||
|
|
||||||
Function<void(Color const&)> on_color_change;
|
Function<void(Color const&)> on_color_change;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue