feat: reduce snap grid from 16px to 8px for finer node positioning

This commit is contained in:
Pouzor
2026-04-06 23:54:56 +02:00
parent 3bd18ab543
commit 00d44abfad
2 changed files with 3 additions and 3 deletions
@@ -142,9 +142,9 @@ describe('CanvasContainer', () => {
expect(rfProps.snapToGrid).toBe(true)
})
it('sets snapGrid to [16, 16]', () => {
it('sets snapGrid to [8, 8]', () => {
render(<CanvasContainer />)
expect(rfProps.snapGrid).toEqual([16, 16])
expect(rfProps.snapGrid).toEqual([8, 8])
})
// ── Delete key ────────────────────────────────────────────────────────────