Skip to content

Commit

Permalink
fix duplicated touch events on Windows. [skip CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpigyyy committed May 10, 2024
1 parent 42ae376 commit 91f89cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/Input/TouchDispather.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 91f89cf

Please sign in to comment.