Skip to content

Commit

Permalink
remove duplicate setter
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Jul 18, 2024
1 parent f3a0b5c commit 6bc4c31
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/textual/widgets/_progress_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def __init__(
"""Create a bar for a [`ProgressBar`][textual.widgets.ProgressBar]."""
self._clock = (clock or Clock()).clone()
super().__init__(name=name, id=id, classes=classes, disabled=disabled)
self.gradient = gradient
self.set_reactive(Bar.gradient, gradient)

def _validate_percentage(self, percentage: float | None) -> float | None:
Expand Down

0 comments on commit 6bc4c31

Please sign in to comment.