Skip to content

Commit

Permalink
Don't translate ColorPicker color labels
Browse files Browse the repository at this point in the history
  • Loading branch information
KoBeWi committed Apr 18, 2024
1 parent 2efbc6b commit 9ab3ff0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scene/gui/color_picker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,9 @@ void ColorPicker::add_mode(ColorMode *p_mode) {
}

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_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
gc->add_child(lbl);

HSlider *slider = memnew(HSlider);
Expand Down

0 comments on commit 9ab3ff0

Please sign in to comment.