mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
VisualScriptEditor Fix in graph position calculation (do not skip zoom)
(cherry picked from commit 3336453dff)
This commit is contained in:
parent
8c640b8204
commit
c476459f2b
2 changed files with 50 additions and 112 deletions
|
|
@ -229,7 +229,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