eliminate the real remaining settings-card gesture flicker and fix launcher icon safe-zone/background - root cause (found by a dedicated investigation pass) was two independent gesture recognizers on the same focused card fighting over one touch stream: the outer tab-level detectDragGestures was still attached to the active card too, keyed on deckOpen/isActive, which the nested-scroll actions mutate mid-drag - the instant collapse fired, that pointerInput's key changed, cancelling and restarting the coroutine with the finger still down, letting it independently resolve the same physical gesture a second time. Fixed by restricting the outer detector to non-active tabs only (the active card's own nested scroll connection now owns 100% of its gesture) and moving both actions to resolve once on release (onPreFling) instead of continuously mid-drag, matching the app's existing resolveStackDrag on-release convention. Also restricted the expand trigger to upward drags only (previously any direction) after live testing showed repeated downward 'scroll to top' attempts right after a collapse would immediately re-satisfy an any-direction check on the now-unfocused preview and flicker back open. Separately: the launcher adaptive-icon background went through two more corrections after the first transparent attempt rendered as an empty black void on this launcher instead of blending with wallpaper (adaptive-icon backgrounds are expected to be opaque) - now filled with the app's own root canvas color (PeachColors.Bg, #0C0A06) instead of the original literal cream or a naive transparent; and the foreground/monochrome peach mark's safe-zone scale was corrected from an initial 0.8 (based on overall bbox, still let the leaf tip clip on circular masks) to 0.6 after computing the leaf's true radial distance from center (~126 of 240 viewport units, not just its bbox extent). All live-verified on-device: full expand/collapse/re-expand cycle clean with no flicker, repeated downward drag after collapse no longer reopens, launcher icon shows the complete un-cropped peach on a color-filled background in the app drawer dock.
$ koh steal kepr.uk/peach-android@8ec8a51c5f29
·
parent: 55352aec7f22
discussion
log in to leave a comment.