mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-04-19 19:34:24 +02:00
fix(workspaces): favourites missing inactive
class on startup
Fixes #390
This commit is contained in:
parent
b3a3c78a3d
commit
c356b22401
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue