Warn users about unsafe usage of InputEvent
This commit is contained in:
parent
14fdd28de9
commit
a2af839a59
2 changed files with 29 additions and 0 deletions
|
|
@ -222,6 +222,10 @@ private:
|
|||
void _parse_input_event_impl(const Ref<InputEvent> &p_event, bool p_is_emulated);
|
||||
|
||||
List<Ref<InputEvent>> buffered_events;
|
||||
#ifdef DEBUG_ENABLED
|
||||
HashSet<Ref<InputEvent>> frame_parsed_events;
|
||||
uint64_t last_parsed_frame = UINT64_MAX;
|
||||
#endif
|
||||
|
||||
friend class DisplayServer;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue