Merge pull request #225 from dmunozv04/dependabot/pip/textual-slider-0.1.2

Bump textual-slider from 0.1.1 to 0.1.2
This commit is contained in:
David
2025-01-16 18:56:40 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -6,6 +6,6 @@ pyytlounge==2.0.0
rich==13.7.1
ssdp==1.3.0
textual==0.58.0
textual-slider==0.1.1
textual-slider==0.1.2
xmltodict==0.13.0
rich_click==1.8.3

View File

@@ -585,7 +585,7 @@ class EditDevice(ModalWithClickExit):
)
def on_slider_changed(self, event: Slider.Changed) -> None:
offset_input = self.query_one("#device-offset-offset_input")
offset_input = self.query_one("#device-offset-input")
with offset_input.prevent(Input.Changed):
offset_input.value = str(event.slider.value)