You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
Inspect hovered node while dragging
This commit is contained in:
@@ -234,6 +234,14 @@ class SceneTreeDock : public VBoxContainer {
|
||||
void _node_prerenamed(Node *p_node, const String &p_new_name);
|
||||
|
||||
void _nodes_drag_begin();
|
||||
|
||||
void _handle_hover_to_inspect();
|
||||
void _inspect_hovered_node();
|
||||
void _reset_hovering_timer();
|
||||
Timer *inspect_hovered_node_delay = nullptr;
|
||||
Node *node_hovered_now = nullptr;
|
||||
Node *node_hovered_previously = nullptr;
|
||||
|
||||
virtual void input(const Ref<InputEvent> &p_event) override;
|
||||
virtual void shortcut_input(const Ref<InputEvent> &p_event) override;
|
||||
void _scene_tree_gui_input(Ref<InputEvent> p_event);
|
||||
|
||||
Reference in New Issue
Block a user