From 0bcdae70dbefdf5c7231b166a43d52e7570e1799 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 29 Dec 2020 10:59:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=A7=E6=80=A5=E5=81=9C=E8=BD=A6=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shape/StationStand/emergent/EEmergentCross.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/jmapNew/shape/StationStand/emergent/EEmergentCross.js b/src/jmapNew/shape/StationStand/emergent/EEmergentCross.js index afd57c29d..9060d3733 100644 --- a/src/jmapNew/shape/StationStand/emergent/EEmergentCross.js +++ b/src/jmapNew/shape/StationStand/emergent/EEmergentCross.js @@ -14,13 +14,13 @@ class EEmergentCross extends Group { const model = this.model.modelData; const style = this.model.style; - const emergentOffset = model.inside ? style.StationStand.emergentRhombus.insideOffset : style.StationStand.emergentRhombus.outsideOffset; + const emergentOffset = model.inside ? style.StationStand.emergentCross.insideOffset : style.StationStand.emergentCross.outsideOffset; const emergentH = model.right ? 1 : -1; const emergentX = model.position.x + emergentH * emergentOffset.x; const emergentY = model.position.y + emergentH * emergentOffset.y; - model.r = style.StationStand.emergentRhombus.mergentR; - model.n = style.StationStand.emergentRhombus.mergentN; + model.r = style.StationStand.emergentCross.mergentR; + model.n = style.StationStand.emergentCross.mergentN; this.emergent = new Isogon({ zlevel: this.model.zlevel, @@ -33,7 +33,7 @@ class EEmergentCross extends Group { }, style: { lineWidth: 2, - stroke:style.StationStand.emergentRhombus.defaultColor + stroke:style.StationStand.emergentCross.defaultColor } }); this.add(this.emergent); @@ -52,7 +52,7 @@ class EEmergentCross extends Group { }, style:{ lineWidth:2, - stroke:style.StationStand.emergentRhombus.defaultColor + stroke:style.StationStand.emergentCross.defaultColor } }); this.emergentLine2 = new Line({ @@ -66,7 +66,7 @@ class EEmergentCross extends Group { }, style:{ lineWidth:2, - stroke:style.StationStand.emergentRhombus.defaultColor + stroke:style.StationStand.emergentCross.defaultColor } }); this.add(this.emergentLine1);