bugfix-修改通用鼠标插件配置选项bug

This commit is contained in:
walker 2023-07-21 15:52:04 +08:00
parent 6899504fef
commit 827247494a

View File

@ -52,9 +52,6 @@ class CompleteMouseToolOptions implements IMouseToolOptions {
}
}
const DefaultSelectToolOptions: CompleteMouseToolOptions =
new CompleteMouseToolOptions();
/**
*
*/
@ -72,7 +69,7 @@ export class CommonMouseTool extends AppInteractionPlugin {
constructor(graphicApp: GraphicApp) {
super(CommonMouseTool.Name, graphicApp);
this.options = DefaultSelectToolOptions;
this.options = new CompleteMouseToolOptions();
this.box = new Graphics();
this.box.name = CommonMouseTool.SelectBox;