maybeSnapToGrid

See source code

Checks if grid mode is enabled and snaps a point to the grid if so

function maybeSnapToGrid(point: Vec, editor: Editor): Vec

Parameters

NameDescription

point

editor

Returns

Prev
loopToHtmlElement
Next
MenuClickCapture