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:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user