fix label update
Signed-off-by: Thomas Schmid <tom@lfence.de>
This commit is contained in:
parent
ebca53d6cf
commit
fa5fbeeb15
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user