Compare commits
2 commits
37683fe94f
...
aaff6c0f98
| Author | SHA1 | Date | |
|---|---|---|---|
| aaff6c0f98 | |||
| 872e4d820d |
1 changed files with 1 additions and 1 deletions
|
|
@ -2052,7 +2052,7 @@ class Solfa(val sharedScreenModel: SharedScreenModel, private val fileRepository
|
||||||
sharedScreenModel.setBpmFlow(meta["p"]?.toFloat() ?: 120.0f)
|
sharedScreenModel.setBpmFlow(meta["p"]?.toFloat() ?: 120.0f)
|
||||||
sharedScreenModel.setOptimColGrid(meta["k"]?.toIntOrNull() ?: 0)
|
sharedScreenModel.setOptimColGrid(meta["k"]?.toIntOrNull() ?: 0)
|
||||||
val fallbackBpm = getBpmFromMeasure(meta["m"])
|
val fallbackBpm = getBpmFromMeasure(meta["m"])
|
||||||
val bpm = meta["p"]?.toFloatOrNull() ?: fallb ackBpm
|
val bpm = meta["p"]?.toFloatOrNull() ?: fallbackBpm
|
||||||
sharedScreenModel.setBpmFlow(bpm)
|
sharedScreenModel.setBpmFlow(bpm)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue