From 9ab3ff04ac7ba8aed91bf6026fef0b30eb3d9f77 Mon Sep 17 00:00:00 2001 From: kobewi Date: Thu, 18 Apr 2024 20:26:56 +0200 Subject: [PATCH] Don't translate ColorPicker color labels --- scene/gui/color_picker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scene/gui/color_picker.cpp b/scene/gui/color_picker.cpp index 3b62f6c23d3..848a598ebb8 100644 --- a/scene/gui/color_picker.cpp +++ b/scene/gui/color_picker.cpp @@ -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);