浏览代码

Merge pull request #37856 from Calinou/doc-basebutton-keep-pressed-outside

Mention `keep_pressed_outside` caveat in the BaseButton documentation
Rémi Verschelde 5 年之前
父节点
当前提交
2ebfd69196
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      doc/classes/BaseButton.xml

+ 1 - 0
doc/classes/BaseButton.xml

@@ -60,6 +60,7 @@
 		</member>
 		<member name="keep_pressed_outside" type="bool" setter="set_keep_pressed_outside" getter="is_keep_pressed_outside" default="false">
 			If [code]true[/code], the button stays pressed when moving the cursor outside the button while pressing it.
+			[b]Note:[/b] This property only affects the button's visual appearance. Signals will be emitted at the same moment regardless of this property's value.
 		</member>
 		<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false">
 			If [code]true[/code], the button's state is pressed. Means the button is pressed down or toggled (if [member toggle_mode] is active).