Vorschau-Kuli: dickere Striche (1.7), weisser Hintergrund, keine Papierstruktur

This commit is contained in:
Lucas Orth
2026-08-24 13:27:59 +02:00
parent 0587a94bee
commit bc94bcbaa5

View File

@@ -332,8 +332,8 @@ const NeuAuftrag = defineComponent({
const BALLPOINT = '#1a2a6c'; const BALLPOINT = '#1a2a6c';
const inkify = (svg) => (typeof svg === 'string' const inkify = (svg) => (typeof svg === 'string'
? svg ? svg
.replace(/stroke="#0{3,6}"/gi, `stroke="${BALLPOINT}" stroke-opacity="0.92"`) .replace(/stroke="#0{3,6}"/gi, `stroke="${BALLPOINT}" stroke-opacity="0.95"`)
.replace(/stroke-width="0\.6"/gi, 'stroke-width="1.1"') .replace(/stroke-width="0\.6"/gi, 'stroke-width="1.7"')
: svg); : svg);
// Vorschau als PNG speichern (wie in der App); Fallback: SVG. // Vorschau als PNG speichern (wie in der App); Fallback: SVG.
function bildSpeichern(d) { function bildSpeichern(d) {