Spur label: always 14px, never shrink font to fit width

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
igurielidze 2026-03-30 21:39:21 +04:00
parent 9fe6172161
commit f203556082

View File

@ -561,7 +561,7 @@ function drawConveyanceLabel(ctx: CanvasRenderingContext2D, sym: PlacedSymbol) {
const safeW = Math.min(w2, sym.w);
cx = sym.x + safeW / 2;
cy = sym.y + sym.h / 2;
availW = safeW;
availW = Infinity; // never shrink font for spurs — enough visual room
availH = sym.h;
} else {
cx = sym.x + sym.w / 2;