소스 검색

Modify newlines in Editor Spin Slider tooltip

Makes both key suggestions easier to read.

(cherry picked from commit a2ba189fef5d7e8b0278c8de3802fb925097befa)
Micky 3 년 전
부모
커밋
b14754d984
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      editor/editor_spin_slider.cpp

+ 1 - 1
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());
 }