fix: lint

This commit is contained in:
Alex 2024-04-10 10:20:21 +02:00
parent 896c578c0e
commit a9088c7e7d
1 changed files with 2 additions and 2 deletions

View File

@ -305,7 +305,7 @@ auto Workspaces::update() -> void {
} else { } else {
button.get_style_context()->remove_class("focused"); button.get_style_context()->remove_class("focused");
} }
if (hasFlag((*it), "visible") || ((*it)["output"].isString() && noNodes )) { if (hasFlag((*it), "visible") || ((*it)["output"].isString() && noNodes)) {
button.get_style_context()->add_class("visible"); button.get_style_context()->add_class("visible");
} else { } else {
button.get_style_context()->remove_class("visible"); button.get_style_context()->remove_class("visible");
@ -320,7 +320,7 @@ auto Workspaces::update() -> void {
} else { } else {
button.get_style_context()->remove_class("persistent"); button.get_style_context()->remove_class("persistent");
} }
if (noNodes) { if (noNodes) {
button.get_style_context()->add_class("empty"); button.get_style_context()->add_class("empty");
} else { } else {
button.get_style_context()->remove_class("empty"); button.get_style_context()->remove_class("empty");