1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

icon visible check

This commit is contained in:
bbedward
2025-08-23 13:26:14 -04:00
parent 1e2fdc5f24
commit 5e91aaa13e

View File

@@ -259,13 +259,14 @@ Item {
mipmap: true mipmap: true
smooth: true smooth: true
asynchronous: true asynchronous: true
visible: status === Image.Ready
} }
Rectangle { Rectangle {
width: 40 width: 40
height: 40 height: 40
anchors.centerIn: parent anchors.centerIn: parent
visible: !iconImg.visible visible: iconImg.status !== Image.Ready
color: Theme.surfaceLight color: Theme.surfaceLight
radius: Theme.cornerRadius radius: Theme.cornerRadius
border.width: 1 border.width: 1