fix(workspaces): favourites missing inactive class on startup

Fixes #390
This commit is contained in:
Jake Stanger 2023-12-30 23:30:03 +00:00
parent b3a3c78a3d
commit c356b22401
No known key found for this signature in database
GPG Key ID: C51FC8F9CB0BEA61

View File

@ -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();