Sfoglia il codice sorgente

fix:基准线和普通线 测量线的这个字段都变成斑马线

jinx 1 anno fa
parent
commit
bb2cfc8adc
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/graphic/Controls/UIControl.js

+ 3 - 0
src/graphic/Controls/UIControl.js

@@ -109,6 +109,9 @@ export default class UIControl {
         } else if (selectUI == UIEvents.CurveRoad) {
           stateService.setEventName(LayerEvents.AddCurveRoad);
         } else if (uiService.isBelongLine(selectUI)) {
+          if (Settings.selectSVGType == RoadStructure.ZebraCrossing) {
+            uiService.setSelectSVGType(null);
+          }
           stateService.setEventName(LayerEvents.AddLine);
         }
         //  else if (selectUI == UIEvents.CurveLine) {