mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-02 16:25:34 +03:00
PixelPaint: Update SelectedColorWidget::m_color consistently
This commit is contained in:
parent
08e5c6f349
commit
dc89ac1463
Notes:
sideshowbarker
2024-07-17 20:53:52 +09:00
Author: https://github.com/ColinMink 🔰 Commit: https://github.com/SerenityOS/serenity/commit/dc89ac1463c Pull-request: https://github.com/SerenityOS/serenity/pull/11878 Reviewed-by: https://github.com/mustafaquraish ✅
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user