The first public release of Fabled Minstrel #158

Merged
bvandeusen merged 256 commits from dev into main 2026-12-03 21:41:58 -05:00
Showing only changes of commit 8f411d5ad3 - Show all commits
@@ -13,7 +13,7 @@ import kotlin.math.roundToInt
* (height 0) moves nothing.
*/
internal fun reorderDragDelta(offsetPx: Float, rowHeightPx: Int): Int =
if (rowHeightPx > 0) (offsetPx / (rowHeightPx + 1)).roundToInt() // DELIBERATE BREAK else 0
if (rowHeightPx > 0) (offsetPx / (rowHeightPx + 1)).roundToInt() else 0 // DELIBERATE BREAK
/**
* The index a row dragged from [index] lands on, in a list of [count] rows