From b14754d984d48a36ca792a33f32399bcd3241fa4 Mon Sep 17 00:00:00 2001 From: Micky Date: Wed, 31 Aug 2022 11:34:43 +0200 Subject: [PATCH] Modify newlines in Editor Spin Slider tooltip Makes both key suggestions easier to read. (cherry picked from commit a2ba189fef5d7e8b0278c8de3802fb925097befa) --- editor/editor_spin_slider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index 87c0de434e7..0ba167ba2fd 100644 --- a/editor/editor_spin_slider.cpp +++ b/editor/editor_spin_slider.cpp @@ -42,7 +42,7 @@ String EditorSpinSlider::get_tooltip(const Point2 &p_pos) const { #else const int key = KEY_CONTROL; #endif - return rtos(get_value()) + "\n\n" + vformat(TTR("Hold %s to round to integers. Hold Shift for more precise changes."), find_keycode_name(key)); + return rtos(get_value()) + "\n\n" + vformat(TTR("Hold %s to round to integers.\nHold Shift for more precise changes."), find_keycode_name(key)); } return rtos(get_value()); }