summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorZae <zaevi@live.com>2022-09-29 01:47:03 +0800
committerZae <zaevi@live.com>2022-09-29 01:47:03 +0800
commit186ca020b3174f1a4c550abee141a42afe61fafb (patch)
tree425cd2e0818c12d809596ef73ffd990ed0c0e561 /platform/windows
parent14e1f36e614686f3fea0c74fac3624d1027dd5cc (diff)
Fix ScrollContainer touch-scrolling not working.
Diffstat (limited to 'platform/windows')
-rw-r--r--platform/windows/display_server_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp
index 77b20dd924..9e958be26f 100644
--- a/platform/windows/display_server_windows.cpp
+++ b/platform/windows/display_server_windows.cpp
@@ -565,7 +565,7 @@ bool DisplayServerWindows::screen_is_touchscreen(int p_screen) const {
#ifndef _MSC_VER
#warning touchscreen not working
#endif
- return false;
+ return DisplayServer::screen_is_touchscreen(p_screen);
}
void DisplayServerWindows::screen_set_orientation(ScreenOrientation p_orientation, int p_screen) {