mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-23 10:19:17 +08:00
feat(stage): 添加updateMoveableOptions api,用于更新选中框状态
This commit is contained in:
parent
c3633b0481
commit
bdd59cff9b
@ -380,6 +380,11 @@ export default class ActionManager extends EventEmitter {
|
||||
return this.dr?.getDragStatus();
|
||||
}
|
||||
|
||||
public updateMoveableOptions(): void {
|
||||
this.dr?.updateMoveable();
|
||||
this.multiDr?.updateMoveable();
|
||||
}
|
||||
|
||||
public destroy(): void {
|
||||
this.container.removeEventListener('mousedown', this.mouseDownHandler);
|
||||
this.container.removeEventListener('mousemove', this.mouseMoveHandler);
|
||||
|
Loading…
x
Reference in New Issue
Block a user