Don't translate ColorPicker color labels
This commit is contained in:
parent
2efbc6bfb3
commit
9ab3ff04ac
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue