Repository navigation
iOS: safe area read every frame; a finger's 10px tap slop - #5
Merged
Merged
Conversation
- `recheck_safe_area` ran only on `RedrawRequested`; on iOS most frames are drawn directly (`frame_now`), so a phone that rotated after launch kept its launch insets — portrait's notch and home-indicator bands over a landscape page. It runs at the start of every `redraw` now, and its follow-up frames go through the pacer on iOS. - `BLITZ_SAFE_AREA_BOTTOM=0` lays the page out to the bottom edge, under the home indicator, for a page whose bottom bar keeps its controls clear itself (as `BLITZ_SAFE_AREA_SIDES=0` does for the sides). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
For a page that minds what it needs itself. On a phone the view's safe area can also be wrong: an app that rotated at launch kept portrait's insets on a landscape window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At 2px a fingertip's ordinary roll on glass turned a tap into a pan, which swallows the click: taps on a phone died silently. Mouse and pen keep 2px (selection drags). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BLITZ_SAFE_AREA_BOTTOM,BLITZ_SAFE_AREA=0for no insets).🤖 Generated with Claude Code