diff options
Diffstat (limited to 'raveos-sddm-theme/sddm-rave-theme/Components/ParticleOverlay.qml')
| -rw-r--r-- | raveos-sddm-theme/sddm-rave-theme/Components/ParticleOverlay.qml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/ParticleOverlay.qml b/raveos-sddm-theme/sddm-rave-theme/Components/ParticleOverlay.qml index 27d5b71..5c25217 100644 --- a/raveos-sddm-theme/sddm-rave-theme/Components/ParticleOverlay.qml +++ b/raveos-sddm-theme/sddm-rave-theme/Components/ParticleOverlay.qml @@ -40,7 +40,6 @@ Canvas { var p = particles[i] var r = p.baseR * (0.75 + 0.25 * Math.sin(p.phase + time * 2.2)) - // Glow halo var grd = ctx.createRadialGradient(p.x, p.y, 0, p.x, p.y, p.glowR) grd.addColorStop(0, "hsla(" + p.hue + ",100%,72%," + (p.opacity * 0.55) + ")") grd.addColorStop(1, "hsla(" + p.hue + ",100%,72%,0)") @@ -49,7 +48,6 @@ Canvas { ctx.fillStyle = grd ctx.fill() - // Core dot ctx.beginPath() ctx.arc(p.x, p.y, r, 0, Math.PI * 2) ctx.fillStyle = "hsla(" + p.hue + ",100%,88%," + p.opacity + ")" @@ -84,7 +82,6 @@ Canvas { } Component.onCompleted: { - // kis késleltetés hogy a méret biztosan kész legyen Qt.callLater(initParticles) } } |