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

[BUG] Force Snap to Grid only half works #26

Open
Koitenshin opened this issue Jun 19, 2024 · 2 comments
Open

[BUG] Force Snap to Grid only half works #26

Koitenshin opened this issue Jun 19, 2024 · 2 comments

Comments

@Koitenshin
Copy link

Describe the bug
Snapping to grids only applies when you're moving nodes, but doesn't work at all when you resize them. I still have to hold down Shift when I want to resize to the grid.

To Reproduce
Steps to reproduce the behavior:

  1. Install Extension, Launch server, reopen webpage
  2. Click Gear Icon to open settings and check "Force Snap to Grid"
  3. Move a node, it snaps to grid. Resize a node by dragging the bottom right corner of that node, it doesn't snap at all.

Expected behavior
I thought it would snap to grid at all times, no matter if I was moving a node or resizing it.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11 v23H2 - 22631.3737
  • Browser: Tested on both Firefox v125.0.3 & Opera v110.0.5130.82, same result on both.
@pixelass
Copy link
Member

pixelass commented Jun 19, 2024

Thank you for taking time to report this issue. It is a known issue, Back when I created this extension, this was the easiest way to implement it. I can see if I can add the forced snapping during resize.

@Koitenshin
Copy link
Author

Thank you for responding. I hope you'll be able to add it.

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

2 participants