Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The end points of a line are not aligned exactly with the grid points, when the unit is set to "Millimeters" #1815

Open
2 tasks done
mpreissler opened this issue Jul 14, 2024 · 0 comments

Comments

@mpreissler
Copy link

mpreissler commented Jul 14, 2024

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • 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:

  1. Open a new blank diagram.
  2. Click on "View" menu, goto "Units" submenu and change the value to "Millimeters".
  3. Change the grid size to "0.5 mm". (see 1st screenshot)
  4. Create a new line
  5. 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
drawIO_gridSize
drawIO_notAligned_LineEnd

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant