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:
commit
f0db317ea4
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue