mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Use the Item
element instead of Rectangle
for banner icon
To prevent un-necessary draw checks as the background is transparent CURA-8564
This commit is contained in:
parent
f8d9f1e39c
commit
f1a9bbd791
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue