diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-16 12:27:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 12:27:28 +0200 |
commit | 2ebfd691966b68b03dd4aa73d6d16db0e085db21 (patch) | |
tree | 8866c0985ed070dc61b7ea79aa306f0b36e27222 | |
parent | cd908c3cef0e5875b6ff4bbab6ae9a40bb39b306 (diff) | |
parent | e799dc954e8eb348139633abdb60140d535765b1 (diff) |
Merge pull request #37856 from Calinou/doc-basebutton-keep-pressed-outside
Mention `keep_pressed_outside` caveat in the BaseButton documentation
-rw-r--r-- | doc/classes/BaseButton.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/BaseButton.xml b/doc/classes/BaseButton.xml index 2147b2b4b0..5e908b0e53 100644 --- a/doc/classes/BaseButton.xml +++ b/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). |