forked from Shinonome/dots-hyprland
Update SysTrayItem.qml
This commit is contained in:
@@ -43,6 +43,7 @@ MouseArea {
|
|||||||
|
|
||||||
IconImage {
|
IconImage {
|
||||||
id: trayIcon
|
id: trayIcon
|
||||||
|
visible: false // There's already color overlay
|
||||||
source: root.item.icon
|
source: root.item.icon
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
width: parent.width
|
width: parent.width
|
||||||
@@ -51,6 +52,7 @@ MouseArea {
|
|||||||
|
|
||||||
Desaturate {
|
Desaturate {
|
||||||
id: desaturatedIcon
|
id: desaturatedIcon
|
||||||
|
visible: false // There's already color overlay
|
||||||
anchors.fill: trayIcon
|
anchors.fill: trayIcon
|
||||||
source: trayIcon
|
source: trayIcon
|
||||||
desaturation: 1 // 1.0 means fully grayscale
|
desaturation: 1 // 1.0 means fully grayscale
|
||||||
|
|||||||
Reference in New Issue
Block a user