From 2da7c957fc969fc1203577ae3f02f491dc08542d Mon Sep 17 00:00:00 2001 From: Alexis He Date: Thu, 19 Aug 2021 21:24:01 +0200 Subject: [PATCH] Change: intuitive map drag for touch interface --- siminteraction.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/siminteraction.cc b/siminteraction.cc index c060f72a0..4b1113f1a 100644 --- a/siminteraction.cc +++ b/siminteraction.cc @@ -41,7 +41,7 @@ void interaction_t::move_view( const event_t &ev ) // move the mouse pointer back to starting location => infinite mouse movement if( (ev.mx - ev.cx) != 0 || (ev.my-ev.cy) !=0 ) { -#ifdef __BEOS__ +#if defined(__BEOS__) || defined(__ANDROID__) change_drag_start(ev.mx - ev.cx, ev.my - ev.cy); #else move_pointer(ev.cx, ev.cy); -- 2.28.0.windows.1