diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-13 09:12:08 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-13 09:12:08 +0100 |
commit | 2a778f896109c11eef4b0b148158bb3327bba655 (patch) | |
tree | d06bf09e198fdcb18784b3562ad2d0e81d0d84dc /platform/android/android_input_handler.h | |
parent | 3281f2618265f94f1dc7032aa2f577d676e17a75 (diff) | |
parent | b53e9614b863597b1f7b4e0d5a5c4bc78a162a8b (diff) |
Merge pull request #73197 from m4gr3d/fix_scene_tree_long_press_rename_conflicts_main
Fix the issue causing long-press on a selected node on the scene tree to trigger both the context menu and the rename functionality
Diffstat (limited to 'platform/android/android_input_handler.h')
-rw-r--r-- | platform/android/android_input_handler.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/android/android_input_handler.h b/platform/android/android_input_handler.h index 6e53dcfc89..a56b6aa6c4 100644 --- a/platform/android/android_input_handler.h +++ b/platform/android/android_input_handler.h @@ -87,10 +87,14 @@ private: void _release_mouse_event_info(bool p_source_mouse_relative = false); - void _parse_all_touch(bool p_pressed, bool p_double_tap); + void _cancel_mouse_event_info(bool p_source_mouse_relative = false); + + void _parse_all_touch(bool p_pressed, bool p_double_tap, bool reset_index = false); void _release_all_touch(); + void _cancel_all_touch(); + public: void process_mouse_event(int p_event_action, int p_event_android_buttons_mask, Point2 p_event_pos, Vector2 p_delta, bool p_double_click, bool p_source_mouse_relative); void process_touch_event(int p_event, int p_pointer, const Vector<TouchPos> &p_points, bool p_double_tap); |