xushiting 2 年之前
父节点
当前提交
5aa2d6118c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/graphic/Controls/UIControl.js

+ 1 - 1
src/graphic/Controls/UIControl.js

@@ -76,7 +76,7 @@ export default class UIControl {
           stateService.setEventName(LayerEvents.AddCircle);
           stateService.setEventName(LayerEvents.AddCircle);
         } else if (selectUI == UIEvents.Text) {
         } else if (selectUI == UIEvents.Text) {
           stateService.setEventName(LayerEvents.AddText);
           stateService.setEventName(LayerEvents.AddText);
-        } else if (selectUI == UIEvents.magnifier) {
+        } else if (selectUI == UIEvents.Magnifier) {
           stateService.setEventName(LayerEvents.AddMagnifier);
           stateService.setEventName(LayerEvents.AddMagnifier);
         } else if (selectUI == UIEvents.SVG) {
         } else if (selectUI == UIEvents.SVG) {
           stateService.setEventName(LayerEvents.AddSVG);
           stateService.setEventName(LayerEvents.AddSVG);