Skip to content
This repository was archived by the owner on Nov 24, 2022. It is now read-only.

Feature: set pixel snapping position reference point to either start or end#83

Open
LucasAschenbach wants to merge 1 commit intoAdamJonsson:mainfrom
LucasAschenbach:main
Open

Feature: set pixel snapping position reference point to either start or end#83
LucasAschenbach wants to merge 1 commit intoAdamJonsson:mainfrom
LucasAschenbach:main

Conversation

@LucasAschenbach
Copy link

Sometimes its useful to be able to set a pixel margin from the top of the snapping sheet; for instance to avoid safe-area infringement.

This PR adds a snappingPositionAnchor argument to the SnappingPosition.pixels constructor for specifying the offset anchor to either start (default) or end.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant