I'm dumb
This commit is contained in:
parent
880c0be4f1
commit
32365812df
@ -226,7 +226,7 @@ export class Doodler {
|
|||||||
onDragEnd,
|
onDragEnd,
|
||||||
onDragStart,
|
onDragStart,
|
||||||
point
|
point
|
||||||
}: {point: Vector, onDragEnd: () => void, onDragStart: () => void}) {
|
}: {point: Vector, onDragEnd?: () => void, onDragStart?: () => 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