mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -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
|
@ -63,13 +63,10 @@ Item
|
|||
isTopElement: toolsModel.getItem(0).id == model.id
|
||||
isBottomElement: toolsModel.getItem(toolsModel.count - 1).id == model.id
|
||||
|
||||
toolItem: UM.RecolorImage
|
||||
toolItem: UM.ColorImage
|
||||
{
|
||||
source: UM.Theme.getIcon(model.icon) != "" ? UM.Theme.getIcon(model.icon) : "file:///" + model.location + "/" + model.icon
|
||||
color: UM.Theme.getColor("icon")
|
||||
|
||||
sourceSize.height: Math.round(UM.Theme.getSize("button").height / 2)
|
||||
sourceSize.width: Math.round(UM.Theme.getSize("button").width / 2)
|
||||
}
|
||||
|
||||
onCheckedChanged:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue