Update src/btop_draw.cpp

Co-authored-by: dieter-apptronik <dieterbuys@apptronik.com>
This commit is contained in:
Patrick Wieschollek
2026-04-25 15:23:05 +02:00
committed by Jakob P. Liljenberg
parent 0bafa6fa71
commit 169737fb86

View File

@@ -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
};
}