wrapWithFixedAnchor
wrapWithFixedAnchor<
T
>(actionHandler
):TransformActionHandler
<T
>
Wrap an action handler with saving/restoring object position on the transform. this is the code that permits to objects to keep their position while transforming.
Type Parameters
• T extends Transform
Parameters
• actionHandler: TransformActionHandler
<T
>
the function to wrap
Returns
a function with an action handler signature