Skip to content

Commit 0fd9deb

Browse files
committed
no longer requried
1 parent 6de2604 commit 0fd9deb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/textual/widgets/_button.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,6 @@ def __init__(
210210

211211
self.label = label
212212
self.variant = variant
213-
self.set_reactive(Button.variant, variant)
214-
self.add_class(f"-{variant}", update=False)
215213
self.action = action
216214
self.active_effect_duration = 0.2
217215
"""Amount of time in seconds the button 'press' animation lasts."""

0 commit comments

Comments
 (0)