Modify newlines in Editor Spin Slider tooltip

Makes both key suggestions easier to read.

(cherry picked from commit a2ba189fef)
This commit is contained in:
Micky 2022-08-31 11:34:43 +02:00 committed by Rémi Verschelde
parent b9eed3a455
commit b14754d984

View file

@ -42,7 +42,7 @@ String EditorSpinSlider::get_tooltip(const Point2 &p_pos) const {
#else #else
const int key = KEY_CONTROL; const int key = KEY_CONTROL;
#endif #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()); return rtos(get_value());
} }