From ccfbf182e3ff83c0768701f7f443fde705cfdcef Mon Sep 17 00:00:00 2001 From: mrdotx Date: Thu, 24 Feb 2022 11:55:16 +0100 Subject: [PATCH] fix: title_left symbol between auto and zero in the net box is not displayed --- src/btop_draw.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/btop_draw.cpp b/src/btop_draw.cpp index 2fa300d..6fc9f8a 100644 --- a/src/btop_draw.cpp +++ b/src/btop_draw.cpp @@ -962,9 +962,9 @@ namespace Net { //? Interface selector and buttons - out += Mv::to(y, x+width - i_size - 10) + title_left + Fx::b + Theme::c("hi_fg") + "" + title_right - + Mv::to(y, x+width - i_size - 16) + title_left + Theme::c("hi_fg") + (net.stat.at("download").offset + net.stat.at("upload").offset > 0 ? Fx::b : "") + 'z' + + Mv::to(y, x+width - i_size - 15) + title_left + Theme::c("hi_fg") + (net.stat.at("download").offset + net.stat.at("upload").offset > 0 ? Fx::b : "") + 'z' + Theme::c("title") + "ero" + title_right; Input::mouse_mappings["b"] = {y, x+width - i_size - 9, 1, 3}; Input::mouse_mappings["n"] = {y, x+width - 6, 1, 3}; @@ -1662,4 +1662,4 @@ namespace Draw { box = createBox(x, y, width, height, Theme::c("proc_box"), true, "proc", "", 4); } } -} \ No newline at end of file +}