Make material colour indication a circle instead of square

The rest of them are circles. This one should be one too.
This commit is contained in:
Ghostkeeper 2017-09-27 17:28:32 +02:00
parent 33fdca4a6b
commit fcc914cf0d
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -164,6 +164,7 @@ Column
id: materialColor
width: materialName.height * 0.75
height: materialName.height * 0.75
radius: width / 2
color: (connectedPrinter != null && connectedPrinter.materialColors[index] != null && connectedPrinter.materialIds[index] != "") ? connectedPrinter.materialColors[index] : "#00000000"
border.width: UM.Theme.getSize("default_lining").width
border.color: UM.Theme.getColor("lining")