diff options
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/SystemTray.qml')
| -rw-r--r-- | accounts/gkleen@sif/shell/quickshell/SystemTray.qml | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/SystemTray.qml b/accounts/gkleen@sif/shell/quickshell/SystemTray.qml index 956f3995..6f70be29 100644 --- a/accounts/gkleen@sif/shell/quickshell/SystemTray.qml +++ b/accounts/gkleen@sif/shell/quickshell/SystemTray.qml | |||
| @@ -47,7 +47,7 @@ Item { | |||
| 47 | return "" | 47 | return "" |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | width: 16 | 50 | width: icon.width + 6 |
| 51 | height: parent.height | 51 | height: parent.height |
| 52 | anchors.verticalCenter: parent.verticalCenter | 52 | anchors.verticalCenter: parent.verticalCenter |
| 53 | 53 | ||
| @@ -83,14 +83,24 @@ Item { | |||
| 83 | } | 83 | } |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | IconImage { | 86 | Rectangle { |
| 87 | anchors.centerIn: parent | 87 | anchors.fill: parent |
| 88 | width: parent.width | 88 | color: { |
| 89 | height: parent.width | 89 | if (trayItemArea.containsMouse) |
| 90 | source: trayItemWrapper.iconSource | 90 | return "#33808080"; |
| 91 | asynchronous: true | 91 | return "transparent"; |
| 92 | smooth: true | 92 | } |
| 93 | mipmap: true | 93 | |
| 94 | IconImage { | ||
| 95 | id: icon | ||
| 96 | |||
| 97 | anchors.centerIn: parent | ||
| 98 | implicitSize: 16 | ||
| 99 | source: trayItemWrapper.iconSource | ||
| 100 | asynchronous: true | ||
| 101 | smooth: true | ||
| 102 | mipmap: true | ||
| 103 | } | ||
| 94 | } | 104 | } |
| 95 | } | 105 | } |
| 96 | 106 | ||
