PixelPaint: Update SelectedColorWidget::m_color consistently

This commit is contained in:
Colin 2022-01-13 03:41:50 -08:00 committed by Andreas Kling
commit dc89ac1463
Notes: sideshowbarker 2024-07-17 20:53:52 +09:00

View file

@ -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;