Type Alias: UnfreezeCanvasScrolling()
UnfreezeCanvasScrolling: () =>
Promise
<void
>
Re-enable scrolling on canvas. Undos modifications done by freezeCanvasScrolling,
restores the original scrolling and zooming behavior of the canvas, allowing the user to interact with the 3D scene as intended.
It also sets global variable on window.freezeScroll
to false, which is used in useBabylon()
hook.
Returns
Promise
<void
>