Skip to content

Commit 8f7eb27

Browse files
committed
adjust button active time
1 parent 922dd0a commit 8f7eb27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/widgets/_button.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def __init__(
204204

205205
self.label = label
206206
self.variant = variant
207-
self.active_effect_duration = 0.3
207+
self.active_effect_duration = 0.2
208208
"""Amount of time in seconds the button 'press' animation lasts."""
209209
if tooltip is not None:
210210
self.tooltip = tooltip

0 commit comments

Comments
 (0)