summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-05-16 02:44:09 +0200
committerGitHub <noreply@github.com>2018-05-16 02:44:09 +0200
commit0ab1b05e86487cfd4454601a63231684253e97fe (patch)
tree6fa072f7576cc7111b1817f7a78eca4f2a6c990e /editor
parent69cafb6044cc2f438da7381eb1e3eb1dd8e4c45c (diff)
parent1dfb95de22990708b0172826803796c803d0b4f9 (diff)
Merge pull request #18916 from marcelofg55/clang_compile_fix
Fix compile error with clang
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_spin_slider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp
index 8143e74a40..9764364273 100644
--- a/editor/editor_spin_slider.cpp
+++ b/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();