Version:
@ryersonlibrary/web-components@0.4.2
I'm submitting a:
[X] bug report
[ ] feature request
Current behavior:
In the MapEditor demo, when adding a region, zooming in or out on the map skews the location of the next point relative to the cursor.
Expected behavior:
The point should follow the cursor as the map zooms.
Steps to reproduce:
- Run
npm start.
- Load the MapEditor component demo.
- Add a new Region.
- Click to add one or more points, then scroll the mouse wheel to zoom.
- The polygon point that should follow the cursor is now offset.
Other information:
Probably something to do with scaling not being properly carried over to the last point of the polygon during zooming.
Version:
I'm submitting a:
[X] bug report
[ ] feature request
Current behavior:
In the MapEditor demo, when adding a region, zooming in or out on the map skews the location of the next point relative to the cursor.
Expected behavior:
The point should follow the cursor as the map zooms.
Steps to reproduce:
npm start.Other information:
Probably something to do with scaling not being properly carried over to the last point of the polygon during zooming.