Vorschau-Kuli: dickere Striche (1.7), weisser Hintergrund, keine Papierstruktur
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user