1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Fix the issue causing long-press on a selected node on the scene tree to trigger both the context menu and the rename functionality

This commit is contained in:
Fredia Huya-Kouadio
2023-02-12 21:03:47 -08:00
parent fda3acd94d
commit 6528f984fe
2 changed files with 29 additions and 5 deletions

View File

@@ -90,10 +90,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_joy_event(const JoypadEvent &p_event);
void process_key_event(int p_scancode, int p_physical_scancode, int p_unicode, bool p_pressed);