Explorar o código

Adjust GDscript example formatting in Using Containers (#5020)

hpnrep6 %!s(int64=4) %!d(string=hai) anos
pai
achega
f18d88c74e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tutorials/ui/gui_containers.rst

+ 1 - 1
tutorials/ui/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