diff options
author | Ken Moore <ken@ixsystems.com> | 2017-10-10 11:16:58 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-10-10 11:16:58 -0400 |
commit | f81d342ebc0aba7295c78b91a0ecfb1cb013f723 (patch) | |
tree | 152984f442f5935c445bc01a5be64fe1c959cf87 /src-qt5/core/lumina-desktop-unified/extrafiles/screensavers/Fireflies.qml | |
parent | Update the Fireflies screensaver - seems to work fine now (diff) | |
download | lumina-f81d342ebc0aba7295c78b91a0ecfb1cb013f723.tar.gz lumina-f81d342ebc0aba7295c78b91a0ecfb1cb013f723.tar.bz2 lumina-f81d342ebc0aba7295c78b91a0ecfb1cb013f723.zip |
Make the number of fireflies scale a bit better with the size of the screen
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/extrafiles/screensavers/Fireflies.qml')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/extrafiles/screensavers/Fireflies.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/extrafiles/screensavers/Fireflies.qml b/src-qt5/core/lumina-desktop-unified/extrafiles/screensavers/Fireflies.qml index c2295a8f..d8dcc1ed 100644 --- a/src-qt5/core/lumina-desktop-unified/extrafiles/screensavers/Fireflies.qml +++ b/src-qt5/core/lumina-desktop-unified/extrafiles/screensavers/Fireflies.qml @@ -8,7 +8,7 @@ Rectangle { color: "black" Repeater { - model: Math.round(Math.random()*200)+60 + model: Math.round(Math.random()*canvas.width/10)+100 QML.Firefly { parent: canvas x: Math.round(Math.random()*canvas.width) |