mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-01 22:14:06 +03:00
Update glances.py
This commit is contained in:
parent
65a34b7fa4
commit
bc872f61cc
@ -2516,13 +2516,13 @@ class glancesScreen:
|
||||
# Do you want it ?
|
||||
# If yes then tag_percpu = True
|
||||
if self.percpu_tag:
|
||||
tag_percpu = screen_x > self.cpu_x + 79 + max(0,(len(percpu) - 3)) * 10
|
||||
tag_percpu = screen_x > self.cpu_x + 79 + (len(percpu) - 1) * 10
|
||||
else:
|
||||
tag_percpu = False
|
||||
|
||||
# compute x offset
|
||||
if tag_percpu:
|
||||
offset_x = max(16,(len(percpu) - 3)) * 8
|
||||
offset_x = (len(percpu) - 1) * 8
|
||||
elif tag_extendedcpu:
|
||||
offset_x = 16
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user