Repository navigation
Conversation
Touching down on the compass but dragging outside it should cause the map to pan, not reset to north. Also renamed the property to reflect its new type. This change obsoletes part of 90af18e but leaves out the accessibility-related changes there.
|
This change introduces a delay between tapping the compass and return-to-north activation. Tapping highlights the compass button (i.e., adds a dark overlay) for ~0.5s before activating. |
|
Yes, that’s the price to pay for accepting pans from the top-right corner of the screen. MapKit does the same thing, though it doesn’t highlight the button. I can easily nix the highlight by setting the same compass image for the highlighted state if that makes the compass feel more natural. |
|
Switching to |
|
Ah, I’m mistaken: we already do support panning from the corner because the compass and pan gestures aren’t allowed to run simultaneously. The MapKit compass also recognizes taps immediately without delay. Serves me right for testing only in the Simulator. |
Touching down on the compass but dragging outside it should cause the map to pan, not reset to north. (This is how Maps behaves, though I’m open to changing the event back to
UIControlEventTouchDown.) This PR also renames the property to reflect its new type.This change obsoletes part of 90af18e for #1496 but omits the accessibility-related changes contained therein.
/cc @incanus @friedbunny