drawio-desktop
drawio-desktop copied to clipboard
The end points of a line are not aligned exactly with the grid points, when the unit is set to "Millimeters"
Preflight Checklist
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug The end points of a line are not aligned exactly with the grid points, when the unit is set to "Millimeters".
To Reproduce Steps to reproduce the behavior:
- Open a new blank diagram.
- Click on "View" menu, goto "Units" submenu and change the value to "Millimeters".
- Change the grid size to "0.5 mm". (see 1st screenshot)
- Create a new line
- Align one of the two line endpoints on the grid. Result: The line endpoint is usually positioned next to the grid and not on the grid. (See 2nd screenshot)
Expected behavior I expect the end point of the line to be aligned with the grid.
Screenshots
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version 24.6.4
Desktop (please complete the following information):
- OS: Windows 10 Version 22H2
Additional context Add any other context about the problem here.