diff options
Diffstat (limited to 'platform/android/.old')
-rw-r--r-- | platform/android/.old/os_android.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/.old/os_android.cpp b/platform/android/.old/os_android.cpp index ecd87a3af9..9fbfaedd3d 100644 --- a/platform/android/.old/os_android.cpp +++ b/platform/android/.old/os_android.cpp @@ -223,6 +223,7 @@ void OS_Android::process_touch(int p_what,int p_pointer, const Vector<TouchPos>& ev.mouse_button.y=touch[0].pos.y; ev.mouse_button.global_x=touch[0].pos.x; ev.mouse_button.global_y=touch[0].pos.y; + input->set_mouse_pos(Point2(ev.mouse_button.x,ev.mouse_button.y)); main_loop->input_event(ev); @@ -259,6 +260,7 @@ void OS_Android::process_touch(int p_what,int p_pointer, const Vector<TouchPos>& ev.mouse_button.global_x=touch[0].pos.x; ev.mouse_button.global_y=touch[0].pos.y; last_mouse=touch[0].pos; + input->set_mouse_pos(Point2(ev.mouse_button.x,ev.mouse_button.y)); main_loop->input_event(ev); } |