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)
This commit is contained in:
parent
9ace46a7d2
commit
921e6efe0d
2 changed files with 48 additions and 107 deletions
|
|
@ -226,7 +226,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;
|
||||
|
||||
bool node_has_sequence_connections(int p_id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue