Android: fixed two finger scrolling bug

This commit is contained in:
Sergii Pylypenko
2021-12-20 01:47:46 +02:00
parent c4a7b5f73b
commit aee14799a6

View File

@@ -534,8 +534,8 @@ bool VideoDriver_SDL::PollEvent()
case SDL_BUTTON_RIGHT:
_right_button_down = true;
_right_button_clicked = true;
_right_button_down_pos.x = ev.motion.x;
_right_button_down_pos.y = ev.motion.y;
_right_button_down_pos.x = ev.button.x;
_right_button_down_pos.y = ev.button.y;
break;
#ifdef __ANDROID__