diff --git a/B04_PreProcess/B04_PreProcess_UI_MapRender.ts b/B04_PreProcess/B04_PreProcess_UI_MapRender.ts index 1ae0211f6..a91f14ddf 100644 --- a/B04_PreProcess/B04_PreProcess_UI_MapRender.ts +++ b/B04_PreProcess/B04_PreProcess_UI_MapRender.ts @@ -536,6 +536,8 @@ export function drawPreparedLabels( everyM = 25, /** 돌린 지도에서 **글자만 되돌려 세울** 각(라디안). 0이면 그림과 함께 돈다. */ uprightRad = 0, + /** 글자 테두리 색 — 지도 바탕색과 같아야 글자가 선을 끊어 보인다. 기본 = `--map-halo`. */ + halo = haloColor(), ): void { const affine = affineOf(view); const margin = CULL_MARGIN; @@ -569,7 +571,7 @@ export function drawPreparedLabels( context.translate(-x, -y); } context.lineWidth = 3; - context.strokeStyle = haloColor(); + context.strokeStyle = halo; context.strokeText(feature.labelText, x, y); context.fillStyle = color; context.fillText(feature.labelText, x, y); diff --git a/B05_Profile/B05_Profile_UI_RouteEdit_Render.ts b/B05_Profile/B05_Profile_UI_RouteEdit_Render.ts index db1b9128b..3a35c064e 100644 --- a/B05_Profile/B05_Profile_UI_RouteEdit_Render.ts +++ b/B05_Profile/B05_Profile_UI_RouteEdit_Render.ts @@ -317,6 +317,7 @@ function drawContourLabels( style.getPropertyValue("--map-sheet-contour") || "#a5b4fc", scene.contourStepM, scene.uprightRad, + style.getPropertyValue("--color-surface") || "#111", // 바탕칠과 같은 색 — 어두움에서 흰 상자 안 생김 ); if (scene.pickedContour >= 0) drawPickedContourLabel(context, scene, scene.view); context.restore();