mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
Replace RecolorImage
with ColorImage
CURA-8640
This commit is contained in:
parent
3de824e1a4
commit
45bc498c7f
64 changed files with 88 additions and 141 deletions
|
@ -304,7 +304,7 @@ Item
|
|||
height: UM.Theme.getSize("small_button").height
|
||||
width: UM.Theme.getSize("small_button").width
|
||||
anchors.centerIn: parent
|
||||
background: UM.RecolorImage
|
||||
background: UM.ColorImage
|
||||
{
|
||||
source: UM.Theme.getIcon("Guide")
|
||||
color: instructionButton.hovered ? UM.Theme.getColor("primary") : UM.Theme.getColor("icon")
|
||||
|
@ -369,15 +369,13 @@ Item
|
|||
width: selectors.controlWidth
|
||||
height: childrenRect.height
|
||||
|
||||
UM.RecolorImage
|
||||
UM.ColorImage
|
||||
{
|
||||
id: warningImage
|
||||
anchors.left: parent.left
|
||||
source: UM.Theme.getIcon("Warning")
|
||||
width: UM.Theme.getSize("section_icon").width
|
||||
height: UM.Theme.getSize("section_icon").height
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
color: UM.Theme.getColor("material_compatibility_warning")
|
||||
visible: !Cura.MachineManager.isCurrentSetupSupported || warnings.buildplateCompatibilityError || warnings.buildplateCompatibilityWarning
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue