Merge pull request #90869 from KoBeWi/babe_wake_up,_new_color_space_just_dropped

Don't translate ColorPicker color labels
This commit is contained in:
Rémi Verschelde 2024-04-22 12:53:17 +02:00
commit f0db317ea4
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 1 deletions

View File

@ -403,8 +403,9 @@ void ColorPicker::add_mode(ColorMode *p_mode) {
} }
void ColorPicker::create_slider(GridContainer *gc, int idx) { void ColorPicker::create_slider(GridContainer *gc, int idx) {
Label *lbl = memnew(Label()); Label *lbl = memnew(Label);
lbl->set_v_size_flags(SIZE_SHRINK_CENTER); lbl->set_v_size_flags(SIZE_SHRINK_CENTER);
lbl->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
gc->add_child(lbl); gc->add_child(lbl);
HSlider *slider = memnew(HSlider); HSlider *slider = memnew(HSlider);