QML Clean-up

Contributes to CL-897, CL-1051, CL-1111
This commit is contained in:
Ian Paschal 2018-10-23 15:45:44 +02:00
parent f9545a339d
commit 0045559d01

View File

@ -19,7 +19,7 @@ Item {
color: UM.Theme.getColor("viewport_background"); // TODO: Theme!
height: button.height;
opacity: button.down || button.hovered ? 1 : 0;
radius: 0.5 * width;
radius: Math.round(0.5 * width);
width: button.width;
}
contentItem: Label {