diff options
| author | Juan Linietsky | 2015-08-30 10:10:51 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-08-30 10:10:51 -0300 |
| commit | 947b28324895ba13017d780d392a01ff745c77dc (patch) | |
| tree | ead279f7d223fb0fdee124f4817c300da853931e /scene/gui/spin_box.cpp | |
| parent | 7bc9846f169a0a65970c64ca3fc2e799eaa8b990 (diff) | |
| download | godot-947b28324895ba13017d780d392a01ff745c77dc.tar.gz godot-947b28324895ba13017d780d392a01ff745c77dc.tar.zst godot-947b28324895ba13017d780d392a01ff745c77dc.zip | |
Diffstat (limited to 'scene/gui/spin_box.cpp')
| -rw-r--r-- | scene/gui/spin_box.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index 2478e3204..a48136f54 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -125,7 +125,7 @@ void SpinBox::_input_event(const InputEvent& p_event) { if (drag.enabled) { float diff_y = drag.mouse_pos.y - cpos.y; - diff_y=pow(ABS(diff_y),1.8)*SGN(diff_y); + diff_y=Math::pow(ABS(diff_y),1.8)*SGN(diff_y); diff_y*=0.1; drag.mouse_pos=cpos; |
