mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 15:54:32 +08:00
QML Clean-up
Contributes to CL-897, CL-1051, CL-1111
This commit is contained in:
parent
f9545a339d
commit
0045559d01
@ -19,7 +19,7 @@ Item {
|
|||||||
color: UM.Theme.getColor("viewport_background"); // TODO: Theme!
|
color: UM.Theme.getColor("viewport_background"); // TODO: Theme!
|
||||||
height: button.height;
|
height: button.height;
|
||||||
opacity: button.down || button.hovered ? 1 : 0;
|
opacity: button.down || button.hovered ? 1 : 0;
|
||||||
radius: 0.5 * width;
|
radius: Math.round(0.5 * width);
|
||||||
width: button.width;
|
width: button.width;
|
||||||
}
|
}
|
||||||
contentItem: Label {
|
contentItem: Label {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user