mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
VisualScriptEditor Fix in graph position calculation (do not skip zoom)
This commit is contained in:
parent
c550033420
commit
3336453dff
2 changed files with 50 additions and 107 deletions
|
@ -228,7 +228,8 @@ class VisualScriptEditor : public ScriptEditorBase {
|
|||
void _update_node_size(int p_id);
|
||||
void _port_name_focus_out(const Node *p_name_box, int p_id, int p_port, bool is_input);
|
||||
|
||||
Vector2 _get_available_pos(bool centered = true, Vector2 ofs = Vector2()) const;
|
||||
Vector2 _get_pos_in_graph(Vector2 p_point) const;
|
||||
Vector2 _get_available_pos(bool p_centered = true, Vector2 p_pos = Vector2()) const;
|
||||
StringName _get_function_of_node(int p_id) const;
|
||||
|
||||
void _move_nodes_with_rescan(const StringName &p_func_from, const StringName &p_func_to, int p_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue