mirror of
https://github.com/aristocratos/btop.git
synced 2026-05-19 14:10:14 -04:00
Update src/btop_draw.cpp
Co-authored-by: dieter-apptronik <dieterbuys@apptronik.com>
This commit is contained in:
committed by
Jakob P. Liljenberg
parent
0bafa6fa71
commit
169737fb86
@@ -641,7 +641,7 @@ namespace Cpu {
|
||||
}
|
||||
else {
|
||||
graph = Draw::Graph{
|
||||
max(1, graph_width + graph_default_width%graph_width - (int)gpus.size() + 1),
|
||||
max(1, graph_width + (gpu_draw_count > 0 ? gpu_drawable_width % gpu_draw_count : 0)),
|
||||
graph_height, "cpu", safeVal(gpu.gpu_percent, graph_field), graph_symbol, invert, true
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user