@mocanvas/mocanvas · constant

ToggleInvertZoomItem

declare const ToggleInvertZoomItem: () => react.JSX.Element

Invert the scroll direction of zooming.

SEMANTICS-ASSUMED: mocanvas's camera options carry no invert flag, so this toggles wheelBehavior between the two documented values, which is the closest thing the option set has to the same effect.

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.