Closed mathieu-fournier closed 2 months ago
In the light of the discussion, this PR will be splitted into 2. 1 - Allow to control what snaps are available. #974 2 - Set multisnap has the default behaviour <- breaking change for the next major version.
Changes
Multi snaps
We are now able to activate multiple snap modes simultaneousely. We can see in the picture that, when multiple modes are active at the same time, we have multiple possible snaps location depending ont he cursor position.
Snap modes choices
The consuming app can now choose what snap modes are available in their app. Ex, Bisector option has been filtered out.
Testing
2 unit tests are added to check the functionnality.
Usage