Skip to content

feat(dashboard): zoom canvas with ctrl+scroll#101

Merged
WhiteMuush merged 1 commit into
mainfrom
feat/dashboard-zoom
Jun 29, 2026
Merged

feat(dashboard): zoom canvas with ctrl+scroll#101
WhiteMuush merged 1 commit into
mainfrom
feat/dashboard-zoom

Conversation

@WhiteMuush

Copy link
Copy Markdown
Owner

Summary

  • Ctrl/Cmd + scroll zooms the dashboard canvas (uniform CSS transform scale, 50%-200%)
  • Whole grid + widget content scale together, no clipping
  • Continuous zoom factor for fine control
  • Gated on the physical Ctrl/Cmd key (tracked via keydown/keyup) so a trackpad pinch and plain scroll don't trigger it
  • Forced to 1x while editing so RGL drag/resize pointer math stays correct; persisted layout never touched

Test plan

  • Ctrl + scroll zooms in/out smoothly
  • Plain scroll and trackpad pinch just scroll, no zoom
  • Switching to Customize resets to 100% and drag/resize work

@WhiteMuush WhiteMuush merged commit 7ba304d into main Jun 29, 2026
11 checks passed
@WhiteMuush WhiteMuush deleted the feat/dashboard-zoom branch June 29, 2026 14:43
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

Successfully merging this pull request may close these issues.

1 participant