first run experience: welcome app

This commit is contained in:
end-4
2025-06-15 16:22:47 +02:00
parent eb8fc41c01
commit 41c5c2a99b
8 changed files with 318 additions and 6 deletions
@@ -19,6 +19,7 @@ ProgressBar {
property color highlightColor: Appearance?.colors.colPrimary ?? "#685496"
property color trackColor: Appearance?.m3colors.m3secondaryContainer ?? "#F1D3F9"
property bool sperm: false // If true, the progress bar will have a wavy fill effect
property bool animateSperm: true
property real spermAmplitudeMultiplier: sperm ? 0.5 : 0
property real spermFrequency: 6
property real spermFps: 60
@@ -82,7 +83,7 @@ ProgressBar {
}
Timer {
interval: 1000 / root.spermFps
running: root.sperm
running: root.animateSperm
repeat: root.sperm
onTriggered: wavyFill.requestPaint()
}