浏览代码

Clarify shape_centered property

Gilles Roudière 5 年之前
父节点
当前提交
12c2363290
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/TouchScreenButton.xml

+ 1 - 1
doc/classes/TouchScreenButton.xml

@@ -37,7 +37,7 @@
 			The button's shape.
 		</member>
 		<member name="shape_centered" type="bool" setter="set_shape_centered" getter="is_shape_centered" default="true">
-			If [code]true[/code], the button's shape is centered.
+			If [code]true[/code], the button's shape is centered in the provided texture. If no texture is used, this property has no effect.
 		</member>
 		<member name="shape_visible" type="bool" setter="set_shape_visible" getter="is_shape_visible" default="true">
 			If [code]true[/code], the button's shape is visible.