Skip to main content

2 posts tagged with "resizer"

View All Tags

Resizer Updates (March 2026)

· One min read

Recent updates landed for @wonderlandlabs-pixi-ux/resizer:

  • Resize handles now remain visually consistent under parent/super-container scaling by counter-scaling against world transform.
  • Added optional rectTransform support for coordinate transforms like snapping, with a single-argument object:
    • rectTransform({ rect, phase, handle })
  • Added optional transformed-rectangle preview callback:
    • onTransformedRect(rawRect, transformedRect, phase)
  • On drag release, transformed coordinates are committed before onRelease runs.

Validation demos in package-validator were also expanded:

  • /resizer/* remains the basic always-visible handles demo.
  • /resizer-snap/* demonstrates snapping + transformed preview with a gray marching-ants overlay.

Window Drag/Resize + Validator Source Fixes (March 2026)

· One min read

Today we addressed a group of related issues across drag, resizer, window, and the package-validator app:

  • Fixed zoom/scaling delta mismatches for drag + resize interactions by moving pointer-delta math into the correct local coordinate space.
  • Updated resizer drag flow so drag-phase transforms/snapping are committed to current rect state during drag, which keeps handles aligned with snapped geometry before release.
  • Updated window-to-resizer syncing so handle positions follow full window rect changes (x, y, width, height) and use the current window rect for external repositioning.
  • Added validator heartbeat coverage for:
    • scaled drag behavior
    • drag-phase snapping behavior
    • window handle updates during snap drag and external window movement
  • Fixed validator source separation so published mode does not accidentally resolve nested imports back to workspace packages.

Result: published and workspace routes now show meaningful behavioral differences when package versions differ, and interaction fidelity under zoom/scale is consistent.