summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-07-26 11:18:01 +0200
committerGitHub <noreply@github.com>2020-07-26 11:18:01 +0200
commit9856c8fda45c080886603515320faec4858d46dd (patch)
tree12f2082979e41fc102d3a21596f5a8c7c5f4c350 /scene
parent44c90e66d07f87ef5d0fb7c7f5e6a0b2a35c7e0c (diff)
parentbf257adbf5808cfe3b0f9399442d8acd1e218760 (diff)
Merge pull request #40434 from naithar/feature/ios-moltenVK
[iOS] Basic Vulkan/Metal Support
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/scroll_bar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/scroll_bar.cpp b/scene/gui/scroll_bar.cpp
index 4db6ca2949..0e9ef71892 100644
--- a/scene/gui/scroll_bar.cpp
+++ b/scene/gui/scroll_bar.cpp
@@ -522,7 +522,7 @@ void ScrollBar::_drag_node_input(const Ref<InputEvent> &p_input) {
drag_node_accum = Vector2();
last_drag_node_accum = Vector2();
drag_node_from = Vector2(orientation == HORIZONTAL ? get_value() : 0, orientation == VERTICAL ? get_value() : 0);
- drag_node_touching = !DisplayServer::get_singleton()->screen_is_touchscreen(DisplayServer::get_singleton()->window_get_current_screen(get_viewport()->get_window_id()));
+ drag_node_touching = DisplayServer::get_singleton()->screen_is_touchscreen(DisplayServer::get_singleton()->window_get_current_screen(get_viewport()->get_window_id()));
drag_node_touching_deaccel = false;
time_since_motion = 0;