同步框架代码

This commit is contained in:
fan 2023-06-09 17:45:16 +08:00
parent b79535cb83
commit afb51855fc
2 changed files with 4 additions and 2 deletions

@ -1 +1 @@
Subproject commit d7014486ded1b4741070a9b5bd92016622f0a267
Subproject commit 988599cd62fce00d3bde9a87f851505d97423b90

View File

@ -102,7 +102,9 @@ export abstract class GraphicDrawAssistant<
unbind(): void {
this.clearCache();
const canvas = this.canvas;
if (this.container?.parent) {
canvas.removeChild(this.container);
}
canvas.off('mousedown', this.onLeftDown, this);
canvas.off('mousemove', this.onMouseMove, this);
canvas.off('mouseup', this.onLeftUp, this);