mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-22 09:40:25 +01:00
Prevent creation of orphan Timer
This commit is contained in:
parent
2b5ea392bf
commit
0ccc539f36
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ namespace godot
|
||||||
enum SelectionMode { NONE, POINTER };
|
enum SelectionMode { NONE, POINTER };
|
||||||
bool selecting = false;
|
bool selecting = false;
|
||||||
SelectionMode selection_mode = SelectionMode::NONE;
|
SelectionMode selection_mode = SelectionMode::NONE;
|
||||||
Timer *selection_timer = new Timer();
|
Timer *selection_timer;
|
||||||
void _handle_selection(Ref<InputEventMouse> event);
|
void _handle_selection(Ref<InputEventMouse> event);
|
||||||
void _on_selection_held();
|
void _on_selection_held();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue