Преглед на файлове

Adjust GDscript example formatting in Using Containers (#5020)

hpnrep6 преди 4 години
родител
ревизия
ac54967162
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      tutorials/gui/gui_containers.rst

+ 1 - 1
tutorials/gui/gui_containers.rst

@@ -170,7 +170,7 @@ to its rect size:
     extends Container
 
     func _notification(what):
-        if (what==NOTIFICATION_SORT_CHILDREN):
+        if what == NOTIFICATION_SORT_CHILDREN:
             # Must re-sort the children
             for c in get_children():
                 # Fit to own size