From 91f89cff67a388cdd79364393b8f65725a5e822f Mon Sep 17 00:00:00 2001 From: Li Jin Date: Fri, 10 May 2024 14:49:47 +0800 Subject: [PATCH] fix duplicated touch events on Windows. [skip CI] --- Source/Input/TouchDispather.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Input/TouchDispather.cpp b/Source/Input/TouchDispather.cpp index 89e5927cd..b5afc50d5 100644 --- a/Source/Input/TouchDispather.cpp +++ b/Source/Input/TouchDispather.cpp @@ -24,10 +24,8 @@ NS_DORA_BEGIN uint32_t Touch::_source = #if BX_PLATFORM_OSX Touch::FromMouse; -#elif BX_PLATFORM_IOS || BX_PLATFORM_ANDROID || BX_PLATFORM_LINUX +#else Touch::FromTouch; -#elif BX_PLATFORM_WINDOWS - Touch::FromMouseAndTouch; #endif Touch::Touch(int id)