Fix compile error with clang

This commit is contained in:
Marcelo Fernandez 2018-05-15 20:43:00 -03:00
parent 005b69cf6e
commit 1dfb95de22

View file

@ -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();