Focus current node after connecting
This commit is contained in:
parent
2d6b880987
commit
d17c522991
3 changed files with 11 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ class NodeDock : public VBoxContainer {
|
|||
HBoxContainer *mode_hb = nullptr;
|
||||
|
||||
Label *select_a_node = nullptr;
|
||||
Node *last_valid_node = nullptr;
|
||||
|
||||
private:
|
||||
static NodeDock *singleton;
|
||||
|
|
@ -60,6 +61,7 @@ protected:
|
|||
|
||||
public:
|
||||
void set_node(Node *p_node);
|
||||
void restore_last_valid_node();
|
||||
|
||||
void show_groups();
|
||||
void show_connections();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue