Skip to content

Commit d0a10ad

Browse files
committed
fix: unify skip duration to 5s for both gesture and keyboard
1 parent 8a30097 commit d0a10ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/hooks/use_gesture.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ Gesture useGesture({
103103
if (tapDx > screenWidth * 0.75) {
104104
// 右侧 25%
105105
showProgress();
106-
player.forward(10);
106+
player.forward(5);
107107
} else if (tapDx < screenWidth * 0.25) {
108108
// 左侧 25%
109109
showProgress();
110-
player.backward(10);
110+
player.backward(5);
111111
} else {
112112
// 中间 50%
113113
if (player.isPlaying) {

0 commit comments

Comments
 (0)