Skip to content

Commit 30d276a

Browse files
committed
ButtonBehavior.always_release default to False
Fixes kivy#3312.
1 parent 5ee1115 commit 30d276a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

kivy/uix/behaviors/button.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,17 @@ class ButtonBehavior(object):
108108
:attr:`min_state_time` is a float and defaults to 0.035.
109109
'''
110110

111-
always_release = BooleanProperty(True)
111+
always_release = BooleanProperty(False)
112112
'''This determines whether or not the widget fires an `on_release` event if
113113
the touch_up is outside the widget.
114114
115115
.. versionadded:: 1.9.0
116116
117+
.. versionchanged:: 1.9.2
118+
The default value is now False.
119+
117120
:attr:`always_release` is a :class:`~kivy.properties.BooleanProperty` and
118-
defaults to `True`.
121+
defaults to `False`.
119122
'''
120123

121124
def __init__(self, **kwargs):

0 commit comments

Comments
 (0)