diff options
author | Ariel Manzur <punto@godotengine.org> | 2015-12-14 11:10:16 -0300 |
---|---|---|
committer | Ariel Manzur <punto@godotengine.org> | 2015-12-14 11:10:16 -0300 |
commit | 27e4c87869d70a1f79ee5d8daa005768cffeebb9 (patch) | |
tree | 4589cc68c60441d402a2dd4dcabcda88eb5c0178 | |
parent | a9795d582665598decd4e73e1d879c83ce28a44b (diff) |
no need to revert this actually
-rw-r--r-- | platform/iphone/os_iphone.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/iphone/os_iphone.cpp b/platform/iphone/os_iphone.cpp index bf2864e7ca..0bc8378662 100644 --- a/platform/iphone/os_iphone.cpp +++ b/platform/iphone/os_iphone.cpp @@ -226,7 +226,7 @@ void OSIPhone::mouse_button(int p_idx, int p_x, int p_y, bool p_pressed, bool p_ queue_event(ev); }; - //mouse_list.pressed[p_idx] = p_pressed; + mouse_list.pressed[p_idx] = p_pressed; if (p_use_as_mouse) { @@ -242,7 +242,7 @@ void OSIPhone::mouse_button(int p_idx, int p_x, int p_y, bool p_pressed, bool p_ ev.mouse_button.x = ev.mouse_button.global_x = p_x; ev.mouse_button.y = ev.mouse_button.global_y = p_y; - mouse_list.pressed[p_idx] = p_pressed; + //mouse_list.pressed[p_idx] = p_pressed; input->set_mouse_pos(Point2(ev.mouse_motion.x,ev.mouse_motion.y)); ev.mouse_button.button_index = BUTTON_LEFT; |