pygui: implemented cpu usage monitor to status bar

This commit is contained in:
Blake Harnden 2020-07-22 21:57:05 -07:00
parent f8d862a296
commit 3544d00431
2 changed files with 54 additions and 13 deletions

View file

@ -590,8 +590,7 @@ class CanvasGraph(tk.Canvas):
)
logging.debug("ratio: %s", self.ratio)
logging.debug("offset: %s", self.offset)
zoom_label = f"{self.ratio * 100:.0f}%"
self.app.statusbar.zoom.config(text=zoom_label)
self.app.statusbar.set_zoom(self.ratio)
if self.wallpaper:
self.redraw_wallpaper()