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:
parent
9fe6172161
commit
f203556082
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user