Browse Source

Replace `RecolorImage` with `ColorImage`

CURA-8640
c.lamboo 2 years ago
parent
commit
45bc498c7f

+ 1 - 1
plugins/3MFReader/WorkspaceDialog.qml

@@ -426,7 +426,7 @@ UM.Dialog
                 width: parent.width
                 height: childrenRect.height
                 visible: manager.hasObjectsOnPlate
-                UM.RecolorImage
+                UM.ColorImage
                 {
                     width: warningLabel.height
                     height: width

+ 1 - 1
plugins/CuraDrive/src/qml/components/BackupListItemDetailsRow.qml

@@ -17,7 +17,7 @@ RowLayout
     property alias label: detailName.text
     property alias value: detailValue.text
 
-    UM.RecolorImage
+    UM.ColorImage
     {
         id: icon
         width: 18 * screenScaleFactor

+ 1 - 1
plugins/DigitalLibrary/resources/qml/LoadMoreProjectsCard.qml

@@ -30,7 +30,7 @@ Cura.RoundedRectangle
         anchors.horizontalCenter: parent.horizontalCenter
         anchors.verticalCenter: parent.verticalCenter
 
-        UM.RecolorImage
+        UM.ColorImage
         {
             id: projectImage
             anchors.verticalCenter: parent.verticalCenter

+ 1 - 1
plugins/Marketplace/resources/qml/LicenseDialog.qml

@@ -33,7 +33,7 @@ UM.Dialog
             spacing: UM.Theme.getSize("default_margin").width
             leftPadding: UM.Theme.getSize("narrow_margin").width
 
-            UM.RecolorImage
+            UM.ColorImage
             {
                 id: icon
                 width: UM.Theme.getSize("marketplace_large_icon").width

+ 1 - 1
plugins/Marketplace/resources/qml/ManageButton.qml

@@ -46,7 +46,7 @@ Item
             height: UM.Theme.getSize("action_button").height
             width: childrenRect.width
 
-            UM.RecolorImage
+            UM.ColorImage
             {
                 id: busyIndicator
                 visible: parent.visible

+ 1 - 1
plugins/Marketplace/resources/qml/ManagePackagesButton.qml

@@ -33,7 +33,7 @@ TabButton
         visible: root.hovered
     }
 
-    UM.RecolorImage
+    UM.ColorImage
     {
         id: icon
 

+ 1 - 1
plugins/Marketplace/resources/qml/Marketplace.qml

@@ -251,7 +251,7 @@ Window
                 margins: UM.Theme.getSize("default_margin").width
             }
             spacing: UM.Theme.getSize("default_margin").width
-            UM.RecolorImage
+            UM.ColorImage
             {
                 id: bannerIcon
                 source: UM.Theme.getIcon("Plugin")

+ 1 - 1
plugins/Marketplace/resources/qml/OnboardBanner.qml

@@ -20,7 +20,7 @@ Rectangle
     color: UM.Theme.getColor("action_panel_secondary")
 
     // Icon
-    UM.RecolorImage
+    UM.ColorImage
     {
         id: onboardingIcon
         anchors

+ 2 - 4
plugins/Marketplace/resources/qml/PackageCardHeader.qml

@@ -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")

+ 1 - 1
plugins/Marketplace/resources/qml/PackagePage.qml

@@ -46,7 +46,7 @@ Rectangle
                     // But we re-use the package page for the manage plugins as well. The one user that doesn't see
                     // the num downloads is an acceptable "sacrifice" to make this easy to fix. 
                     visible: packageData.downloadCount != "0"
-                    UM.RecolorImage
+                    UM.ColorImage
                     {
                         id: downloadsIcon
                         width: UM.Theme.getSize("card_tiny_icon").width

Some files were not shown because too many files changed in this diff