summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornetworkException <git@nwex.de>2023-01-01 02:16:55 +0100
committerSam Atkins <atkinssj@gmail.com>2023-01-01 09:38:07 +0000
commitc8f9bfe02662d80815b90bfd7bf7b660e8fa6851 (patch)
treebee82d475a1e02852fb5099025b08adfc7b21be1
parentf828bf64791c976d75d53dc73a41790adc727017 (diff)
downloadserenity-c8f9bfe02662d80815b90bfd7bf7b660e8fa6851.zip
LibGUI: Make color picker opacity sliders react to the chosen color
-rw-r--r--Userland/Libraries/LibGUI/ColorPicker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/ColorPicker.cpp b/Userland/Libraries/LibGUI/ColorPicker.cpp
index efb36f5415..f8a640fdcc 100644
--- a/Userland/Libraries/LibGUI/ColorPicker.cpp
+++ b/Userland/Libraries/LibGUI/ColorPicker.cpp
@@ -291,6 +291,7 @@ void ColorPicker::build_ui_custom(Widget& root_container)
return;
}
+ m_alpha->set_base_color(color);
m_color = color;
update_color_widgets();
};