Page Grid is drawn with an unnerving offset
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.
Describe the bug On a page with unit mm and a grid size of 10, I expect the grid lines to cross exactly at 20mm/20mm from the top left (as origin). If however, I place a rectangle at 20mm/20mm with the dimensions 20mm/20mm, the upper left corner is placed slightly above/left of the grid at 20mm/20mm. The bottom right corner lies slightly above/left of the grid at 40mm/40mm.
For me as a user, this looks like either the rectangle is drawn slightly 'off' or the grid does not actually start at the origin.
To Reproduce Steps to reproduce the behavior:
- Start a new Drawing
- Switch to mm units
- Set the grid size to 10
- Place a rectangle on the page
- set the rectangle's size to 20mm width, 20mm height
- set the rectangle's position to 20mm left, 20mm top
- Compare rectangle to page grid
Expected behavior Expected result would be to find the top left corner of the rectangle exactly at the grid cross 20mm/20mm and the bottom right corner exactly at the grid cross 40mm/40mm.
Screenshots
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version 24.0.7
Desktop (please complete the following information):
- OS: Windows
- Browser Edge
- Browser Version 122.0.2365.92
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
- yes
Additional context none