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
commit 02bb8e948f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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()));