mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 03:05:52 +08:00
Remove unnecessary item wrapper
Contributes to issue CURA-5876.
This commit is contained in:
parent
2dde2438b2
commit
ef29fb0cfa
@ -16,16 +16,11 @@ Row
|
|||||||
spacing: UM.Theme.getSize("default_margin").width
|
spacing: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
//Extruder icon.
|
//Extruder icon.
|
||||||
Item
|
Cura.ExtruderIcon
|
||||||
{
|
{
|
||||||
width: childrenRect.width
|
materialColor: printCoreConfiguration.material.color
|
||||||
height: information.height
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
Cura.ExtruderIcon
|
extruderEnabled: printCoreConfiguration.material.name !== "" && printCoreConfiguration.hotendID !== ""
|
||||||
{
|
|
||||||
materialColor: printCoreConfiguration.material.color
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
extruderEnabled: printCoreConfiguration.material.name !== "" && printCoreConfiguration.hotendID !== ""
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Column
|
Column
|
||||||
|
Loading…
x
Reference in New Issue
Block a user