I'm dumb
This commit is contained in:
parent
880c0be4f1
commit
32365812df
@ -226,7 +226,7 @@ export class Doodler {
|
||||
onDragEnd,
|
||||
onDragStart,
|
||||
point
|
||||
}: {point: Vector, onDragEnd: () => void, onDragStart: () => void}) {
|
||||
}: {point: Vector, onDragEnd?: () => void, onDragStart?: () => void}) {
|
||||
const d = this.draggables.find(d =>d.point === point);
|
||||
if (d) {
|
||||
d.onDragEnd = onDragEnd;
|
||||
|
Loading…
x
Reference in New Issue
Block a user