1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Merge pull request #60261 from fire-forge/theme-prop-renames

This commit is contained in:
Rémi Verschelde
2022-04-25 16:20:19 +02:00
committed by GitHub
55 changed files with 184 additions and 193 deletions

View File

@@ -316,7 +316,7 @@
</method>
<method name="set_scroll">
<return type="void" />
<argument index="0" name="ofs" type="Vector2" />
<argument index="0" name="offset" type="Vector2" />
<description>
Set the screen center to the given position.
</description>

View File

@@ -1118,7 +1118,7 @@ void VisualScript::_bind_methods() {
ClassDB::bind_method(D_METHOD("has_function", "name"), &VisualScript::has_function);
ClassDB::bind_method(D_METHOD("remove_function", "name"), &VisualScript::remove_function);
ClassDB::bind_method(D_METHOD("rename_function", "name", "new_name"), &VisualScript::rename_function);
ClassDB::bind_method(D_METHOD("set_scroll", "ofs"), &VisualScript::set_scroll);
ClassDB::bind_method(D_METHOD("set_scroll", "offset"), &VisualScript::set_scroll);
ClassDB::bind_method(D_METHOD("get_scroll"), &VisualScript::get_scroll);
ClassDB::bind_method(D_METHOD("add_node", "id", "node", "position"), &VisualScript::add_node, DEFVAL(Point2()));