mirror of
https://github.com/JakeStanger/ironbar.git
synced 2024-11-22 23:16:46 +03:00
fix(workspaces): favourites missing inactive
class on startup
Fixes #390
This commit is contained in:
parent
b3a3c78a3d
commit
c356b22401
@ -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…
Reference in New Issue
Block a user