From f81d342ebc0aba7295c78b91a0ecfb1cb013f723 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 10 Oct 2017 11:16:58 -0400 Subject: Make the number of fireflies scale a bit better with the size of the screen --- .../core/lumina-desktop-unified/extrafiles/screensavers/Fireflies.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/core') 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) -- cgit