Skip to content

Commit

Permalink
Merge pull request #86034 from kleonc/color_picker_alpha_slider_fix_a…
Browse files Browse the repository at this point in the history
…rrow_offset

Fix `ColorPicker`'s alpha slider arrow offset
  • Loading branch information
akien-mga committed Dec 11, 2023
2 parents abaf99d + d76d8c5 commit 15a03ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/gui/color_picker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void ColorPicker::_notification(int p_what) {
sliders[i]->add_theme_constant_override(SNAME("center_grabber"), theme_cache.center_slider_grabbers);
}
alpha_label->set_custom_minimum_size(Size2(theme_cache.label_width, 0));
alpha_label->add_theme_constant_override(SNAME("center_grabber"), theme_cache.center_slider_grabbers);
alpha_slider->add_theme_constant_override(SNAME("center_grabber"), theme_cache.center_slider_grabbers);

for (int i = 0; i < MODE_BUTTON_COUNT; i++) {
mode_btns[i]->begin_bulk_theme_override();
Expand Down

0 comments on commit 15a03ed

Please sign in to comment.