sw: Move bar_redraw variable where it belongs
This commit is contained in:
parent
8fec7fbc8b
commit
91af51f51b
@ -18,7 +18,6 @@ class display(object):
|
||||
self.font_info = ImageFont.truetype('/usr/share/fonts/TTF/DejaVuSans.ttf', 10)
|
||||
self.img = Image.new('1', (self.width, self.height), color = not self.fg)
|
||||
self.d = ImageDraw.Draw(self.img)
|
||||
self.bar_redraw = True
|
||||
|
||||
def render(self):
|
||||
print("render NYI")
|
||||
@ -39,6 +38,7 @@ class display_playback(display):
|
||||
self.info = ""
|
||||
self.syms = [];
|
||||
self.title_img = Image.new('1', (0, 0), color = not self.fg)
|
||||
self.bar_redraw = True
|
||||
|
||||
def update_text(self, title):
|
||||
self.title = title
|
||||
|
Loading…
Reference in New Issue
Block a user