On a pattern long enough to overflow the viewport, tapping a cell moved the grid: the follow logic re-centred the viewport on the cursor the moment it changed, so the row that was just tapped slid up to the middle of the screen, well away from the fingertip. The hit test itself was correct — the view moved out from under it. While not playing the view now holds still and scrolls only far enough to keep the cursor row on screen, so a tap never moves it and an off-screen cursor (arrow keys, punch-in advancing a row) still comes back into view. Centring on the playhead during playback is unchanged, as is the flick-to-detach. Also clip the Canvas. Compose does not clip a Canvas to its bounds, and the grid deliberately draws one row past each edge to fill the partially scrolled rows, so a scrolled grid painted over the toolbar above it. Verified on an emulator (Pixel, API 34): before the fix a tap near the bottom of a 64-line pattern jumped the row to the middle; after it the row stays under the tap, scroll-then-tap lands on the right cell, an off-screen cursor is pulled back to the nearest edge, and the playhead still centres during playback. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
21 lines
931 B
Properties
21 lines
931 B
Properties
# Per-platform version tracking (see CLAUDE.md -> Naming and versioning).
|
|
#
|
|
# Single source of truth: app/build.gradle.kts reads android.* from here, and
|
|
# the Makefile reads it for artifact naming and for the `bump-*` targets. Edit
|
|
# this file (or run `make bump-minor`), never the numbers in build.gradle.kts.
|
|
#
|
|
# Semantic versioning: MAJOR.MINOR.PATCH — minor for a feature, patch for a fix
|
|
# or polish. android.versionCode is monotonic and bumps by 1 on every release,
|
|
# because F-Droid and the Android package manager order installs by it alone.
|
|
|
|
android.versionName = 0.22.1
|
|
android.versionCode = 50
|
|
|
|
# No desktop builds exist yet. These lines are the agreed slots so a port starts
|
|
# with a version instead of inventing one; `-` means "not built on this
|
|
# platform". Namespace for every platform: cc.tiredsysadmin.<os>.sizzle.
|
|
macos.versionName = -
|
|
linux.versionName = -
|
|
bsd.versionName = -
|
|
windows.versionName = -
|