fixed
This commit is contained in:
parent
c7ff737690
commit
fbcffcde27
@ -254,7 +254,7 @@ export class Doodler {
|
|||||||
onDragStart,
|
onDragStart,
|
||||||
onDrag,
|
onDrag,
|
||||||
point
|
point
|
||||||
}: { point: Vector, onDragEnd?: () => void, onDragStart?: () => void, onDrag?: () => void }) {
|
}: { point: Vector, onDragEnd?: () => void, onDragStart?: () => void, onDrag?: (movement?: {x: number, y: number}) => void }) {
|
||||||
const d = this.draggables.find(d => d.point === point);
|
const d = this.draggables.find(d => d.point === point);
|
||||||
if (d) {
|
if (d) {
|
||||||
d.onDragEnd = onDragEnd;
|
d.onDragEnd = onDragEnd;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user