quickshell: drop vinyl sheen streaks
This commit is contained in:
parent
41267747d0
commit
d8d8400519
1 changed files with 0 additions and 25 deletions
|
|
@ -4230,31 +4230,6 @@ in
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Two opposed sheen streaks, like
|
|
||||||
// light catching the vinyl. Without
|
|
||||||
// these an art-less disc looks
|
|
||||||
// stationary: faint near-concentric
|
|
||||||
// grooves give the eye nothing to
|
|
||||||
// track, so the spin reads as a bug.
|
|
||||||
Repeater {
|
|
||||||
model: 2
|
|
||||||
Rectangle {
|
|
||||||
id: sheen
|
|
||||||
required property int index
|
|
||||||
width: 2
|
|
||||||
radius: 1
|
|
||||||
height: vinyl.discSize * 0.4
|
|
||||||
color: Theme.base04
|
|
||||||
opacity: 0.3
|
|
||||||
x: blankLabel.width / 2 - width / 2
|
|
||||||
y: blankLabel.height / 2 - height
|
|
||||||
transform: Rotation {
|
|
||||||
origin.x: sheen.width / 2
|
|
||||||
origin.y: sheen.height
|
|
||||||
angle: sheen.index * 180
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue