mirror of
https://github.com/godotengine/godot.git
synced 2025-10-21 17:03:42 +00:00
Fix typos with codespell
Using codespell 1.16.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
This commit is contained in:
parent
28613ab8c9
commit
ab3bccdb78
13 changed files with 30 additions and 30 deletions
|
@ -1637,7 +1637,7 @@ void VisualScriptEditor::_on_nodes_duplicate() {
|
|||
|
||||
for (Set<int>::Element *F = to_duplicate.front(); F; F = F->next()) {
|
||||
|
||||
// duplicate from the specifc function but place it into the default func as it would lack the connections
|
||||
// duplicate from the specific function but place it into the default func as it would lack the connections
|
||||
StringName func = _get_function_of_node(F->get());
|
||||
Ref<VisualScriptNode> node = script->get_node(func, F->get());
|
||||
|
||||
|
@ -2938,7 +2938,7 @@ void VisualScriptEditor::_graph_connected(const String &p_from, int p_from_slot,
|
|||
if ((to_node_pos.x - from_node_pos.x) < 0) {
|
||||
// to is behind from node
|
||||
if (to_node_pos.x > (from_node_pos.x - to_node_size.x - 240))
|
||||
new_to_node_pos.x = from_node_pos.x - to_node_size.x - 240; // approx size of construtor node + padding
|
||||
new_to_node_pos.x = from_node_pos.x - to_node_size.x - 240; // approx size of constructor node + padding
|
||||
else
|
||||
new_to_node_pos.x = to_node_pos.x;
|
||||
new_to_node_pos.y = to_node_pos.y;
|
||||
|
@ -2947,7 +2947,7 @@ void VisualScriptEditor::_graph_connected(const String &p_from, int p_from_slot,
|
|||
} else {
|
||||
// to is ahead of from node
|
||||
if (to_node_pos.x < (from_node_size.x + from_node_pos.x + 240))
|
||||
new_to_node_pos.x = from_node_size.x + from_node_pos.x + 240; // approx size of construtor node + padding
|
||||
new_to_node_pos.x = from_node_size.x + from_node_pos.x + 240; // approx size of constructor node + padding
|
||||
else
|
||||
new_to_node_pos.x = to_node_pos.x;
|
||||
new_to_node_pos.y = to_node_pos.y;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue