fix(B05): 계획노선 편집 등고선 높이 글자 테두리를 지도 바탕색으로 — 어두움에서 흰 상자 없앰(73-16)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016PSXsvyDxjNmufteN5bqmt
This commit is contained in:
2026-10-07 09:44:41 +09:00
co-authored by Claude Opus 5.5
parent 4ab6f1b55a
commit 25a4dae744
2 changed files with 4 additions and 1 deletions
@@ -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);
@@ -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();