Fix! keep tempo when finished

This commit is contained in:
Hasinjato 2026-09-17 10:23:11 +03:00
parent 91e9af73cc
commit 6d5f4cc15c

View file

@ -446,7 +446,7 @@ actual class FMediaPlayer actual constructor(
} else {
navigationSteps
.filter { it.newBpm != null && it.gridIndex <= gridIndex }
.maxByOrNull { it.gridIndex }?.newBpm ?: initialBpm
.maxByOrNull { it.gridIndex }?.newBpm ?: targetBpm
}
targetBpm = initialOrPreviousBpm