Widen arrangement mute toggles and block headers ~1.5× (v0.12.1)

Bigger, easier thumb targets on the arrangement roll's left column: the mute
toggle 34→51 dp and the block-number header 34→51 dp (laneColWidth 68→102). The
scrollable ruler/roll to the right is unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-07-20 15:20:11 +02:00
parent abdcf77ce5
commit ef13a46026
2 changed files with 4 additions and 4 deletions

View File

@@ -22,8 +22,8 @@ android {
// (android.media.midi) and AAudio low-latency audio we rely on.
minSdk = 26
targetSdk = 34
versionCode = 31
versionName = "0.12.0"
versionCode = 32
versionName = "0.12.1"
// We provide our own instrumentation runner if/when tests are added.
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

View File

@@ -94,8 +94,8 @@ fun ArrangementRoll(vm: AppViewModel) {
val glyphs = remember(measurer) { GlyphCache(measurer) }
val beatWidth = 20.dp
val muteColWidth = 34.dp // wide enough to hit comfortably from the screen edge
val laneColWidth = 68.dp // mute toggle + block number
val muteColWidth = 51.dp // ~1.5× — wider, easy to hit from the screen edge
val laneColWidth = 102.dp // mute toggle (51) + block number header (51), both ~1.5×
val rulerHeight = 18.dp
val beatWidthPx = with(density) { beatWidth.toPx() }
val rulerHeightPx = with(density) { rulerHeight.toPx() }