mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 18:51:04 +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");
|
style_context.add_class("focused");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !visibility.is_visible() {
|
||||||
|
style_context.add_class("inactive")
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
let tx = tx.clone();
|
let tx = tx.clone();
|
||||||
let name = name.to_string();
|
let name = name.to_string();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue