xushiting před 2 roky
rodič
revize
5aa2d6118c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);