KristofferStrube / Blazor.SVGEditor

A basic SVG editor written in Blazor.
https://kristofferstrube.github.io/Blazor.SVGEditor/
MIT License
310 stars 51 forks source link

Bug: Selection is lost when zooming with touch #22

Closed KristofferStrube closed 1 year ago

KristofferStrube commented 1 year ago

When you use touch to zoom, all selected shapes are deselected. This was implemented this way as it was not clear the user had touched the back facade as a part of the zoom, which should deselect all shapes. This has brought pain as users spend a lot of time selecting shapes, which they lose when zooming. To mitigate this, we should only deselect all shapes if a touch interaction starts with pressing the back facade and has not performed any zooming.