Repository navigation
v0.1.5
Gallery view preferences now survive a hard refresh, and the screen layout grid matches Figma’s column math more closely.
Highlights
Persistent gallery layout (Wasm)
Hard-reloading the browser no longer resets how you left the board. The gallery restores:
• Screen layout grid on/off and its column / margin / gutter settings
• Screens-per-row packing
• Light / dark theme
• Device viewport override
• Camera pan and zoom (when the board’s packing still matches)
On Wasm this uses localStorage, namespaced per gallery title. JVM hosts keep an in-memory path (no-op persistence).
Safer restore
Restored cameras are only kept when live board bounds still match what was saved; otherwise the gallery re-fits so a changed catalog or packing doesn’t open on empty space. Prefs flush on page leave, and saveable chrome state is keyed by gallery namespace so switching titles doesn’t leak settings.
Figma-aligned layout grid
The on-screen column overlay uses Figma-style COLUMNS stretch metrics (count / gutter / offset). Margin is exposed as layout-grid Offset (default 24dp), with 6 columns and 8dp gutters by default, so product frames that use a 24 Offset line up with the guides.
Upgrade
// settings or build
id("io.github.crowded-libs.artboard") version "0.1.5"
No consumer code changes required beyond the version bump.