From f1a9bbd7914b3dbdce17e0e2ec4d02b779c6acf1 Mon Sep 17 00:00:00 2001 From: casper Date: Mon, 29 Nov 2021 12:01:42 +0100 Subject: [PATCH] Use the `Item` element instead of `Rectangle` for banner icon To prevent un-necessary draw checks as the background is transparent CURA-8564 --- plugins/Marketplace/resources/qml/OnboardBanner.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/Marketplace/resources/qml/OnboardBanner.qml b/plugins/Marketplace/resources/qml/OnboardBanner.qml index 4a65297816..982bc0f501 100644 --- a/plugins/Marketplace/resources/qml/OnboardBanner.qml +++ b/plugins/Marketplace/resources/qml/OnboardBanner.qml @@ -28,7 +28,7 @@ Rectangle color: UM.Theme.getColor("action_panel_secondary") // Icon - Rectangle + Item { id: onboardingIcon anchors @@ -39,7 +39,6 @@ Rectangle } width: UM.Theme.getSize("button_icon").width height: UM.Theme.getSize("button_icon").height - color: "transparent" UM.RecolorImage { anchors.fill: parent