Skip to content

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

Open
@Koitenshin

Description

@Koitenshin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions