Commit 6414ce78 authored by Marco Martin's avatar Marco Martin
Browse files

different approach to detect if the window is focused

parent 2a0de3b7
......@@ -304,7 +304,7 @@ Item {
states: [
State {
when: root.Window.active
when: root.Window.activeFocusItem !== null
PropertyChanges {
target: launcher
opacity: 1
......@@ -312,7 +312,7 @@ Item {
}
},
State {
when: !root.Window.active
when: root.Window.activeFocusItem === null
PropertyChanges {
target: launcher
opacity: 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment