fix(workspaces): favourites missing inactive class on startup
Fixes #390
This commit is contained in:
1 file changed
+4
@@ -97,6 +97,10 @@ fn create_button(
|
||||
style_context.add_class("focused");
|
||||
}
|
||||
|
||||
if !visibility.is_visible() {
|
||||
style_context.add_class("inactive")
|
||||
}
|
||||
|
||||
{
|
||||
let tx = tx.clone();
|
||||
let name = name.to_string();
|
||||
|
||||
Reference in new issue
Block a user