mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Remove outline of background around connectivity badge
After feedback from our designer, this turns out to no longer be desirable. Contributes to issue CURA-8247.
This commit is contained in:
parent
43237c91c6
commit
62916cb7d4
1 changed files with 3 additions and 4 deletions
|
@ -147,10 +147,9 @@ Cura.ExpandablePopup
|
|||
{
|
||||
id: iconBackground
|
||||
anchors.centerIn: parent
|
||||
// Make it a bit bigger so there is an outline
|
||||
width: parent.width + 2 * UM.Theme.getSize("default_lining").width
|
||||
height: parent.height + 2 * UM.Theme.getSize("default_lining").height
|
||||
radius: Math.round(width / 2)
|
||||
width: parent.width - 1.5 //1.5 pixels smaller, (at least sqrt(2), regardless of screen pixel scale) so that the circle doesn't show up behind the icon due to anti-aliasing.
|
||||
height: parent.height - 1.5
|
||||
radius: width / 2
|
||||
color: UM.Theme.getColor("connection_badge_background")
|
||||
z: parent.z - 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue