Skip to content

Commit

Permalink
vol bar inc/dec speed decrement
Browse files Browse the repository at this point in the history
  • Loading branch information
HemantKArya committed Oct 16, 2024
1 parent 368a375 commit fbcdc6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/screens/widgets/volume_slider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class _VolumeDragControllerState extends State<VolumeDragController> {
if (event is PointerScrollEvent) {
setState(() {
_showVolumeController = true;
_volume = (_volume - event.scrollDelta.dy / 400).clamp(0.0, 1.0);
_volume = (_volume - (event.scrollDelta.dy / 500)).clamp(0.0, 1.0);
});
_startTimer();
setVolume(_volume);
Expand Down

0 comments on commit fbcdc6b

Please sign in to comment.