1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

more m3wave improvements and notification image async loading

This commit is contained in:
bbedward
2025-09-15 23:01:08 -04:00
parent 7d9334916c
commit 19e148f65c
3 changed files with 148 additions and 144 deletions

View File

@@ -143,7 +143,24 @@ Rectangle {
}
return ""
}
asynchronous: true
visible: status === Image.Ready
Component.onCompleted: {
backer.sourceSize.width = 128
backer.sourceSize.height = 128
}
}
Rectangle {
anchors.fill: parent
anchors.margins: -2
radius: width / 2
color: "transparent"
border.color: root.color
border.width: 5
visible: iconContainer.hasNotificationImage
antialiasing: true
}
StyledText {
@@ -408,7 +425,24 @@ Rectangle {
}
return ""
}
asynchronous: true
visible: status === Image.Ready
Component.onCompleted: {
backer.sourceSize.width = 64
backer.sourceSize.height = 64
}
}
Rectangle {
anchors.fill: parent
anchors.margins: -1
radius: width / 2
color: "transparent"
border.color: root.color
border.width: 3
visible: parent.hasNotificationImage
antialiasing: true
}
StyledText {

View File

@@ -245,6 +245,22 @@ PanelWindow {
return ""
}
visible: status === Image.Ready
Component.onCompleted: {
backer.sourceSize.width = 128
backer.sourceSize.height = 128
}
}
Rectangle {
anchors.fill: parent
anchors.margins: 0
radius: width / 2
color: "transparent"
border.color: Theme.popupBackground()
border.width: 3
visible: iconContainer.hasNotificationImage
antialiasing: true
}
StyledText {