We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 114a98d commit 057f459Copy full SHA for 057f459
src/btop_draw.cpp
@@ -2010,7 +2010,7 @@ namespace Draw {
2010
#ifdef GPU_SUPPORT
2011
const bool show_gpu_on = Config::getS("show_gpu_info") == "On";
2012
const bool gpus_shown_in_cpu_panel = Gpu::gpu_names.size() > 0 and (
2013
- show_gpu_on or (Config::getS("cpu_graph_lower") == "Auto" and Gpu::shown == 0)
+ show_gpu_on or (Config::getS("show_gpu_info") == "Auto" and Gpu::shown == 0)
2014
);
2015
const int gpus_height_offset = (Gpu::gpu_names.size() - Gpu::shown)*gpus_shown_in_cpu_panel;
2016
int gpus_extra_height = gpus_shown_in_cpu_panel ? Gpu::gpu_names.size() - (show_gpu_on ? 0 : Gpu::shown) : 0;
0 commit comments