1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-11-03 04:17:21 -05:00

Redaw footer and header after panels

Fix left panel overlaping the footer on full_redraws
This commit is contained in:
Derek Schmidt 2019-04-24 16:49:28 -07:00
parent 24421fcb53
commit b9e9eea295
No known key found for this signature in database
GPG Key ID: 0F5D491793B4035A

View File

@ -739,11 +739,12 @@ class TimelineApp:
def full_redraw(self): def full_redraw(self):
"""Perform a full redraw of the UI.""" """Perform a full redraw of the UI."""
self.left.draw_statuses(self.statuses, self.selected)
self.right.draw(self.get_selected_status())
self.header.draw(self.user) self.header.draw(self.user)
self.draw_footer_status() self.draw_footer_status()
self.left.draw_statuses(self.statuses, self.selected)
self.right.draw(self.get_selected_status())
def redraw_after_selection_change(self, old_index, new_index): def redraw_after_selection_change(self, old_index, new_index):
old_status = self.statuses[old_index] old_status = self.statuses[old_index]