mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-17 06:00:20 +02:00
improve image column play handler to support long press
This commit is contained in:
@@ -245,11 +245,7 @@ export const useDefaultItemListControls = (args?: UseDefaultItemListControlsArgs
|
||||
return;
|
||||
}
|
||||
|
||||
player.addToQueueByData(songsToAdd, Play.NOW);
|
||||
|
||||
const targetIndex = clickedIndex - startIndex;
|
||||
|
||||
player.mediaPlayByIndex(targetIndex);
|
||||
player.addToQueueByData(songsToAdd, Play.NOW, item.id);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user