Coretemp toggle fix

pull/165/head
aristocratos 2020-10-25 01:32:13 +02:00
parent 94538bfd72
commit 87af2875f9
1 changed files with 1 additions and 1 deletions

View File

@ -1689,7 +1689,7 @@ class CpuBox(Box, SubBox):
x, y, w, h = cls.x + 1, cls.y + 1, cls.width - 2, cls.height - 2
bx, by, bw, bh = cls.box_x + 1, cls.box_y + 1, cls.box_width - 2, cls.box_height - 2
hh: int = ceil(h / 2)
hide_cores: bool = cpu.cpu_temp_only or not CONFIG.show_coretemp
hide_cores: bool = (cpu.cpu_temp_only or not CONFIG.show_coretemp) and cpu.got_sensors
if cls.resized or cls.redraw:
if not "m" in Key.mouse: