diff --git a/src/bar.cpp b/src/bar.cpp index af92f49..2f88fa3 100644 --- a/src/bar.cpp +++ b/src/bar.cpp @@ -266,7 +266,11 @@ void Bar::renderStatus() cairo_fill(_painter); _x = start; - renderComponent(_statusCmp); + setColorScheme(colorInactive, false); + if (_statusCmp.width() > 0) + { + renderComponent(_statusCmp); + } } void Bar::setColorScheme(const ColorScheme& scheme, bool invert)