unregister

This commit is contained in:
Emma 2023-02-10 07:38:57 -07:00
parent ff463c6cee
commit 3544b7eae4

View File

@ -235,6 +235,10 @@ export class Doodler {
})
}
unregisterClickable(cb: () => void) {
this.clickables = this.clickables.filter(c => c.onClick !== cb);
}
addDragEvents({
onDragEnd,
onDragStart,