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
Notes: sideshowbarker 2024-07-17 20:53:52 +09:00

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;