소스 검색

Fix compile error with clang

Marcelo Fernandez 7 년 전
부모
커밋
1dfb95de22
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      editor/editor_spin_slider.cpp

+ 1 - 1
editor/editor_spin_slider.cpp

@@ -64,7 +64,7 @@ void EditorSpinSlider::_gui_input(const Ref<InputEvent> &p_event) {
 			double v = get_value();
 
 			double diff_x = mm->get_relative().x;
-			diff_x = Math::pow(ABS(diff_x), 1.8f) * SGN(diff_x);
+			diff_x = Math::pow(ABS(diff_x), 1.8) * SGN(diff_x);
 			diff_x *= 0.1;
 
 			v += diff_x * get_step();