pygui: implemented cpu usage monitor to status bar
This commit is contained in:
parent
f8d862a296
commit
3544d00431
2 changed files with 54 additions and 13 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue