-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Description
I believe it should have been
return { x: (x - bbox.left) * (canvas.width / bbox.width),
y: (y - bbox.top) * (canvas.height / bbox.height)
};
instead of(missing brackets)
return { x: x - bbox.left * (canvas.width / bbox.width),
y: y - bbox.top * (canvas.height / bbox.height)
};
in windowToCanvas method of example.js in example-1.5.
Upendra
Metadata
Metadata
Assignees
Labels
No labels