1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:07:44 +00:00

PixelPaint: Update SelectedColorWidget::m_color consistently

This commit is contained in:
Colin 2022-01-13 03:41:50 -08:00 committed by Andreas Kling
parent 08e5c6f349
commit dc89ac1463

View file

@ -84,6 +84,7 @@ public:
pal.set_color(ColorRole::Background, color);
set_palette(pal);
update();
m_color = color;
}
Function<void(Color const&)> on_color_change;