fix label update

Signed-off-by: Thomas Schmid <tom@lfence.de>
This commit is contained in:
Thomas 2021-07-29 16:34:51 +02:00
parent ebca53d6cf
commit fa5fbeeb15

View File

@ -104,7 +104,7 @@ class LabelSlider(urwid.WidgetWrap):
def set_value(self, value, emit=False): def set_value(self, value, emit=False):
self.slider.set_value(value, emit=False) self.slider.set_value(value, emit=False)
self.text.render_text self.render_text(value)
def get_slider(self): def get_slider(self):
return self.slider return self.slider
@ -241,9 +241,6 @@ class View:
self.reset.set_value(channels[8]) self.reset.set_value(channels[8])
self.color_effect.set_value(channels[9]) self.color_effect.set_value(channels[9])
self.loop.draw_screen() self.loop.draw_screen()
view = View(client) view = View(client)