From 3e5bbfe90108d2e68959e03ebf1ca11522f31adf Mon Sep 17 00:00:00 2001 From: vincentlu <t1341870251@gmail.com> Date: 星期二, 18 三月 2025 14:36:56 +0800 Subject: [PATCH] # --- zy-acs-flow/src/map/tool.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/zy-acs-flow/src/map/tool.js b/zy-acs-flow/src/map/tool.js index 134a407..c490f07 100644 --- a/zy-acs-flow/src/map/tool.js +++ b/zy-acs-flow/src/map/tool.js @@ -501,7 +501,7 @@ const pointRoute = new PointRoute(POINT_ROUTE_DIRECTION[route.direction]); pointRoute.setPoint(startPoint, endPoint); pointRoute.clear(); - pointRoute.lineStyle(Math.max(7, 2 * (1 / mapContainer.scale.x)), themeMode === 'light' ? '#ced6e0' : '#535c68'); + pointRoute.lineStyle(Math.max(7, 2 * (1 / Math.abs(mapContainer.scale.x))), themeMode === 'light' ? '#ced6e0' : '#535c68'); pointRoute.moveTo(startPoint.position.x, startPoint.position.y); pointRoute.lineTo(endPoint.position.x, endPoint.position.y); pointRoute.alpha = 1; -- Gitblit v1.9.1