1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2026-03-14 13:55:44 +01:00

opacity watermark more visible

This commit is contained in:
Gabriel Poma 2025-06-23 16:59:27 +02:00
commit 8ce7fda9b4

View file

@ -781,7 +781,7 @@ function createEventsListener() {
setIsChanged(hasModifications || !!e.target.value)
canvasEditions.forEach(function (canvas) {
const text = new fabric.Text(e.target.value, {angle: -40, fill: "#0007"})
const text = new fabric.Text(e.target.value, {angle: -40, fill: "#0009"})
const overlay = new fabric.Rect({
fill: new fabric.Pattern({source: text.toCanvasElement(), repeat: 'repeat'}),
height: canvas.height,