0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

fix(ring): set_min_max accepts floats

This commit is contained in:
2024-06-05 19:18:17 +02:00
parent c5b6499e41
commit d44b1cf8b1

View File

@ -130,7 +130,7 @@ class Ring(BECConnector):
def set_line_width(self, width: int):
self.config.line_width = width
def set_min_max_values(self, min_value: int, max_value: int):
def set_min_max_values(self, min_value: int | float, max_value: int | float):
self.config.min_value = min_value
self.config.max_value = max_value