fix slider

This commit is contained in:
dmunozv04
2025-01-16 18:56:17 +01:00
parent b59135316e
commit 6825ac6629

View File

@@ -585,7 +585,7 @@ class EditDevice(ModalWithClickExit):
) )
def on_slider_changed(self, event: Slider.Changed) -> None: 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): with offset_input.prevent(Input.Changed):
offset_input.value = str(event.slider.value) offset_input.value = str(event.slider.value)