浏览代码

Adjust GDscript example formatting in Using Containers (#5020)

hpnrep6 4 年之前
父节点
当前提交
f18d88c74e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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