Merge: VW-Zeichen-Feedback (Cursor-HUD L/W + weiches Winkel-Einrasten)

Beim Zeichnen erscheinen Länge + Winkel direkt am Cursor (L:/W:-Kästchen),
gängige Winkel (15°-Vielfache) rasten weich ein — mit Winkel-Badge und
gestrichelter Führungslinie. Vorrang: Objekt-Snap > Shift/Ortho > Winkelraster
> Raster. Toggle + Toleranz in der Fang-Leiste. Konflikt tools/types.ts:
erweitertes hud-Feld + measure-Feld koexistieren.

# Conflicts:
#	src/tools/types.ts
This commit is contained in:
2026-07-11 00:25:49 +02:00
17 changed files with 629 additions and 68 deletions
+23
View File
@@ -222,6 +222,29 @@ function SnapControl({
}
/>
</label>
<label className="sb-snap-row">
<input
type="checkbox"
checked={snap.commonAngles}
disabled={!snap.enabled}
onChange={(e) => onSnapChange({ ...snap, commonAngles: e.target.checked })}
/>
<span>{t("snap.commonAngles")}</span>
</label>
<label className="sb-snap-row sb-snap-row-num">
<span>{t("snap.commonAngleTolerance")}</span>
<input
type="number"
step={0.5}
min={0.5}
max={10}
disabled={!snap.enabled || !snap.commonAngles}
value={snap.commonAngleTolerance}
onChange={(e) =>
onSnapChange({ ...snap, commonAngleTolerance: Number(e.target.value) })
}
/>
</label>
</div>
)}
</span>