hover for mpris working
This commit is contained in:
@@ -55,14 +55,14 @@ Container {
|
|||||||
when: root.hovered == true && root.overriden == false
|
when: root.hovered == true && root.overriden == false
|
||||||
|
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
root.boxHeight: 32
|
root.boxHeight: MprisManager.getPlaying() == false ? 32 : root.mprisHeight
|
||||||
root.boxRadius: 12
|
root.boxRadius: 12
|
||||||
root.boxWidth: 107
|
root.boxWidth: MprisManager.getPlaying() == false ? 107 : root.mprisWidth
|
||||||
}
|
}
|
||||||
|
|
||||||
StateChangeScript {
|
StateChangeScript {
|
||||||
script: {
|
script: {
|
||||||
root.stack.replace(time);
|
root.stack.replace(MprisManager.getPlaying() == true ? mprisToast : time);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -144,7 +144,7 @@ Container {
|
|||||||
Timer {
|
Timer {
|
||||||
id: mprisTimer
|
id: mprisTimer
|
||||||
|
|
||||||
interval: 2000
|
interval: 3000
|
||||||
repeat: false
|
repeat: false
|
||||||
running: false
|
running: false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user