Skip to content

Commit 67c96c8

Browse files
committed
Merge pull request #105855 from bruvzg/color_ac_typo
Fix ColorPicker preset button format string typo.
2 parents c0935eb + 4cc50e4 commit 67c96c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/gui/color_picker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ inline int ColorPicker::_get_preset_size() {
888888
void ColorPicker::_add_preset_button(int p_size, const Color &p_color) {
889889
ColorPresetButton *btn_preset_new = memnew(ColorPresetButton(p_color, p_size));
890890
btn_preset_new->set_tooltip_text(vformat(atr(ETR("Color: #%s\nLMB: Apply color\nRMB: Remove preset")), p_color.to_html(p_color.a < 1)));
891-
btn_preset_new->set_accessibility_name(vformat(atr(ETR("Color: #%")), p_color.to_html(p_color.a < 1)));
891+
btn_preset_new->set_accessibility_name(vformat(atr(ETR("Color: #%s")), p_color.to_html(p_color.a < 1)));
892892
SET_DRAG_FORWARDING_GCDU(btn_preset_new, ColorPicker);
893893
btn_preset_new->set_button_group(preset_group);
894894
preset_container->add_child(btn_preset_new);

0 commit comments

Comments
 (0)