diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-09-05 12:26:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 12:26:34 +0200 |
commit | 03b92ae9ba4ea6b1f610d2bad068ae87b595fbd3 (patch) | |
tree | 4f8eef5297e75486dd230508d174c2f25360f606 | |
parent | b5c053321c89217b1cae0d4670d66a1af0c68bc8 (diff) | |
parent | a2ba189fef5d7e8b0278c8de3802fb925097befa (diff) |
Merge pull request #65140 from Mickeon/editor-spin-slider-newline
-rw-r--r-- | editor/editor_spin_slider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index 33632649c8..58020cf682 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 Key key = Key::CTRL; #endif - return TS->format_number(rtos(get_value())) + "\n\n" + vformat(TTR("Hold %s to round to integers. Hold Shift for more precise changes."), find_keycode_name(key)); + return TS->format_number(rtos(get_value())) + "\n\n" + vformat(TTR("Hold %s to round to integers.\nHold Shift for more precise changes."), find_keycode_name(key)); } return TS->format_number(rtos(get_value())); } |