Replace RecolorImage with ColorImage

CURA-8640
This commit is contained in:
c.lamboo 2022-04-08 15:55:34 +02:00
parent 3de824e1a4
commit 45bc498c7f
64 changed files with 88 additions and 141 deletions

View file

@ -47,12 +47,10 @@ Item
sourceSize.width: width
}
UM.RecolorImage
UM.ColorImage
{
visible: !parent.packageHasIcon
anchors.fill: parent
sourceSize.height: height
sourceSize.width: width
color: UM.Theme.getColor("text")
source:
{
@ -123,7 +121,7 @@ Item
Layout.preferredWidth: UM.Theme.getSize("card_tiny_icon").width + 2 * padding
Layout.preferredHeight: UM.Theme.getSize("card_tiny_icon").width + 2 * padding
contentItem: UM.RecolorImage
contentItem: UM.ColorImage
{
source: UM.Theme.getIcon("LinkExternal")
color: UM.Theme.getColor("icon")