Fix laggy sliders

This commit is contained in:
quadbyte 2025-08-12 11:13:52 -04:00
parent 6cbc74faca
commit 1c77eb7afc
2 changed files with 4 additions and 4 deletions

View file

@ -65,7 +65,7 @@ Item {
to: 144 to: 144
stepSize: 1 stepSize: 1
value: Settings.data.screenRecorder.frameRate value: Settings.data.screenRecorder.frameRate
onMoved: Settings.data.screenRecorder.frameRate = Math.round(value) onPressedChanged: Settings.data.screenRecorder.frameRate = Math.round(value)
cutoutColor: Colors.surface cutoutColor: Colors.surface
} }

View file

@ -94,7 +94,7 @@ Item {
to: 900 to: 900
stepSize: 10 stepSize: 10
value: Settings.data.wallpaper.randomInterval value: Settings.data.wallpaper.randomInterval
onMoved: Settings.data.wallpaper.randomInterval = Math.round(value) onPressedChanged: Settings.data.wallpaper.randomInterval = Math.round(value)
cutoutColor: Colors.backgroundPrimary cutoutColor: Colors.backgroundPrimary
} }
@ -178,7 +178,7 @@ Item {
to: 500 to: 500
stepSize: 5 stepSize: 5
value: Settings.data.wallpaper.swww.transitionFps value: Settings.data.wallpaper.swww.transitionFps
onMoved: Settings.data.wallpaper.swww.transitionFps = Math.round(value) onPressedChanged: Settings.data.wallpaper.swww.transitionFps = Math.round(value)
cutoutColor: Colors.backgroundPrimary cutoutColor: Colors.backgroundPrimary
} }
@ -203,7 +203,7 @@ Item {
to: 10 to: 10
stepSize: 0.05 stepSize: 0.05
value: Settings.data.wallpaper.swww.transitionDuration value: Settings.data.wallpaper.swww.transitionDuration
onMoved: Settings.data.wallpaper.swww.transitionDuration = value onPressedChanged: Settings.data.wallpaper.swww.transitionDuration = value
cutoutColor: Colors.backgroundPrimary cutoutColor: Colors.backgroundPrimary
} }
} }