Scroll to top when shuffling the queue (#283)

This commit is contained in:
vfsfitvnm
2022-09-06 13:28:50 +02:00
parent 9f6b6c9a9c
commit 4014675766
2 changed files with 9 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ import kotlinx.coroutines.withContext
@Stable
class ReorderingState(
val lazyListState: LazyListState,
internal val coroutineScope: CoroutineScope,
val coroutineScope: CoroutineScope,
private val lastIndex: Int,
internal val onDragStart: () -> Unit,
internal val onDragEnd: (Int, Int) -> Unit,