dom-2d-camera
Advanced tools
Changelog
v2.2.5
tick()
for programmatic changes while interactive panning and zooming is fixed.Changelog
v2.2.4
isZoom
is false
.Changelog
v2.2.1
camera.tick()
only returns true
when the user effectively panned or rotatedChangelog
v2.2.0
isPanInverted: [false, true]
. This can be useful in conjunction with WebGL.<canvas />
element.Changelog
v2.1.0
tick()
returns true
when the camera
has been changed programmaticallyChangelog
v2.0.2
Important:
refresh()
. Please call camera.refresh()
when the canvas
element was resized. This allows speeding up mouseMove and wheel event handler by avoiding an expensive getBoundingClientRect()
call.