railmapgen / rmp

Design your own rail map by freely dragging stations from different cities and connecting them with 135-degree rounded corners or perpendicular lines!
https://railmapgen.org/?app=rmp
GNU General Public License v3.0
94 stars 18 forks source link

Big BUG: Wrong OFFSET Display for line drawing重要错误:线段偏移出错 #574

Closed CatAlan1028 closed 9 months ago

CatAlan1028 commented 9 months ago

如图,下面是1月1日版本的显示。 屏幕截图 2024-01-01 152720 屏幕截图 2024-01-01 152709

下面是正常(过去的)版本 屏幕截图 2024-01-01 152815 屏幕截图 2024-01-01 152823

CatAlan1028 commented 9 months ago

第一张线段直接消失,检查后发现叠在浅橙色线下方;第二张则偏移错误。

CatAlan1028 commented 9 months ago

image image

CatAlan1028 commented 9 months ago

总结起来就是这个bug几乎毁掉了整个地图

28yfang commented 9 months ago

这是最近新出的高级自动基本线段引出的问题,把受影响的车站稍微移动一下就行了

thekingofcity commented 9 months ago

嗨,高级自动基本线段会尝试车站为圆心以偏移数值为半径的点是否构成一个合适的基本线段。如果可以,便会自动使用基本线段,正如如上所回复的,您可以稍微移动一下受影响的车站 :)

CatAlan1028 commented 9 months ago

后来检查了一下,将偏移多设置0.01就行了