From 47cade1c200795e1f1f9e1c665f9b0906ccc561a Mon Sep 17 00:00:00 2001 From: Leonti Bielski Date: Mon, 12 Sep 2022 00:05:46 +1000 Subject: [PATCH] Address PR feedback --- gui/widgets/sliders.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gui/widgets/sliders.py b/gui/widgets/sliders.py index 431df08..86c2f61 100644 --- a/gui/widgets/sliders.py +++ b/gui/widgets/sliders.py @@ -25,8 +25,7 @@ class Slider(LinearIO): callback=dolittle, args=[], value=0.0, active=True, min_delta=0.01, max_delta=0.1): width &= 0xfe # ensure divisible by 2 - super().__init__(writer, row, col, height, width, fgcolor, bgcolor, bdcolor, value, active, prcolor, - min_delta = min_delta, max_delta = max_delta) + super().__init__(writer, row, col, height, width, fgcolor, bgcolor, bdcolor, value, active, prcolor, min_delta, max_delta) super()._set_callbacks(callback, args) self.divisions = divisions self.legends = legends @@ -101,8 +100,7 @@ class HorizSlider(LinearIO): callback=dolittle, args=[], value=0.0, active=True, min_delta=0.01, max_delta=0.1): height &= 0xfe # ensure divisible by 2 - super().__init__(writer, row, col, height, width, fgcolor, bgcolor, bdcolor, value, active, prcolor, - min_delta = min_delta, max_delta = max_delta) + super().__init__(writer, row, col, height, width, fgcolor, bgcolor, bdcolor, value, active, prcolor, min_delta, max_delta) super()._set_callbacks(callback, args) self.divisions = divisions self.legends = legends