Continuously scroll map with two fingers

This commit is contained in:
pelya
2014-11-10 17:57:43 +02:00
parent 396aebaa98
commit 55d31f06fb
4 changed files with 23 additions and 0 deletions
+2
View File
@@ -598,6 +598,8 @@ int 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;
break;
case SDL_BUTTON_WHEELUP: _cursor.wheel--; break;