fix: title_left symbol between auto and zero in the net box is not displayed

This commit is contained in:
mrdotx 2022-02-24 11:55:16 +01:00
parent e793370dc9
commit ccfbf182e3
No known key found for this signature in database
GPG Key ID: 433F70E636E6EB87
1 changed files with 3 additions and 3 deletions

View File

@ -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") + "<b " + Theme::c("title")
out += Mv::to(y, x+width - i_size - 9) + title_left + Fx::b + Theme::c("hi_fg") + "<b " + Theme::c("title")
+ uresize(selected_iface, 10) + Theme::c("hi_fg") + " n>" + 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);
}
}
}
}