Fix toplevel nomenclature

toplevel was 3.x
top_level is 4.x
This commit is contained in:
Markus Sauermann
2023-02-02 17:20:31 +01:00
parent 315d3c4d21
commit 3bc426c9d8
4 changed files with 13 additions and 13 deletions

View File

@@ -692,7 +692,7 @@ Transform2D Control::get_transform() const {
return xform;
}
void Control::_toplevel_changed_on_parent() {
void Control::_top_level_changed_on_parent() {
// Update root control status.
_notification(NOTIFICATION_EXIT_CANVAS);
_notification(NOTIFICATION_ENTER_CANVAS);