fix color swatch to be the same as layer view color swatch

This commit is contained in:
ChrisTerBeke 2017-09-12 13:39:39 +02:00
parent 3a098f4b4c
commit 2ffc5d2b58

View file

@ -693,7 +693,8 @@ QtObject {
anchors.verticalCenter: parent.verticalCenter
anchors.margins: UM.Theme.getSize("default_margin").width / 4
radius: width / 2
border.width: UM.Theme.getSize("default_lining").width
border.color: UM.Theme.getColor("lining")
color: (control.color_override !== "") ? control.color_override : control.color
}