@mocanvas/mocanvas · constant

geoShapeMigrations

declare const geoShapeMigrations: _mocanvas_editor.PropsMigrations

The geo shape's props migrations.

Boards saved before flipX/flipY existed have neither prop, and the validator would otherwise refuse them on load; the migration backfills both as false, which is the "not flipped" the old renderer implied. down removes them again so an older client can still read a newer document.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.