diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-11 11:33:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 11:33:59 +0100 |
commit | 46624388d48379350ca9b9020bc55eef61102145 (patch) | |
tree | 14cc974237b03d04419ff0307403bf47cd527a81 /scene/gui | |
parent | f20ae16e0ba22c317e798939581582f15475f170 (diff) | |
parent | 3105d9b1f35959f70975fd6de034b9168cd3b337 (diff) |
Merge pull request #56322 from madmiraal/fix-42450
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index 73d39aee8a..e46de43f1e 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -3171,7 +3171,7 @@ void Tree::gui_input(const Ref<InputEvent> &p_event) { if (drag_touching && !drag_touching_deaccel) { drag_accum -= mm->get_relative().y; v_scroll->set_value(drag_from + drag_accum); - drag_speed = -mm->get_speed().y; + drag_speed = -mm->get_velocity().y; } } |