Public function

The DOM likes values to be fixed to 3 decimal places

Signature
function toDomPrecision(v: number): number
Parameters
NameDescription

v

number
Returns
number
Source

packages/editor/src/lib/primitives/utils.ts

TLWheelEventInfotoFixed