Configurable grid + snap-to-grid in the layout editor #44

Closed
opened 2026-07-19 06:51:56 +00:00 by steve · 0 comments
Owner

Improve the layout system with two independent, configurable grids:

Garden grid (garden-scale, owner-set in the garden settings form)

  • A settable grid size that drives the editor's visual grid.
  • A "snap objects" toggle: when on, placing/moving an object snaps its center to the garden grid, and resizing snaps its width/height to whole grid steps.

Bed grid (per plantable object, set in the bed Inspector)

  • A settable grid size for the bed.
  • A "snap plants" toggle: when on, placing/moving a plant snaps it to the bed's grid, and the grid is drawn inside the focused bed for reference. Plant radius stays free.

Snapping defaults off on both so existing gardens keep free placement; the owner (garden grid) or an editor (bed grid) opts in.

Improve the layout system with two independent, configurable grids: **Garden grid** (garden-scale, owner-set in the garden settings form) - A settable grid size that drives the editor's visual grid. - A "snap objects" toggle: when on, placing/moving an object snaps its center to the garden grid, and resizing snaps its width/height to whole grid steps. **Bed grid** (per plantable object, set in the bed Inspector) - A settable grid size for the bed. - A "snap plants" toggle: when on, placing/moving a plant snaps it to the bed's grid, and the grid is drawn inside the focused bed for reference. Plant radius stays free. Snapping defaults **off** on both so existing gardens keep free placement; the owner (garden grid) or an editor (bed grid) opts in.
steve closed this issue 2026-07-19 07:07:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: steve/pansy#44