This commit is contained in:
joylink_zhaoerwei 2023-08-07 15:33:47 +08:00
parent 25f363d401
commit e94bea8bca

View File

@ -65,8 +65,8 @@ export class Slope extends JlGraphic {
if (this.datas.slopeNumber !== 0) { if (this.datas.slopeNumber !== 0) {
distanceY = distanceY =
this.datas.slopeNumber > 0 this.datas.slopeNumber > 0
? -KiloMarkerConsts.size / 2 ? -KiloMarkerConsts.size
: KiloMarkerConsts.size / 2; : KiloMarkerConsts.size;
} }
this.datas.points.forEach((p, i) => { this.datas.points.forEach((p, i) => {
if (i !== 0) { if (i !== 0) {