Merge pull request #86034 from kleonc/color_picker_alpha_slider_fix_arrow_offset
Fix `ColorPicker`'s alpha slider arrow offset
This commit is contained in:
commit
15a03ed98e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue