Honor borderless FirmaEC signatures

This commit is contained in:
2026-05-22 11:50:08 -05:00
parent f19f8bc899
commit e67e7aa122
10 changed files with 24 additions and 13 deletions
+5 -1
View File
@@ -2,10 +2,14 @@
## Versión actual
- Versión base: `1.2.20`
- Versión base: `1.2.21`
## Historial
### 1.2.21 - 2026-05-22
- `FirmaEC` respeta la opción `Sin borde` tanto en la vista previa web como en la firma visible del PDF.
### 1.2.20 - 2026-05-21
- Backend deja de rechazar estilos visuales desconocidos al guardar preferencias y los normaliza hacia `FirmaEC` o `QR` según corresponda.
+1 -1
View File
@@ -2,7 +2,7 @@
## Versión actual
- Base actual: `1.2.20`
- Base actual: `1.2.21`
- Fuente de verdad: [VERSION](/home/mgonzalez/desarrollo/react/linkedsign/VERSION)
- Historial de cambios: [CHANGELOG.md](/home/mgonzalez/desarrollo/react/linkedsign/CHANGELOG.md)
+1 -1
View File
@@ -2,7 +2,7 @@
## Versión actual
- Base actual: `1.2.20`
- Base actual: `1.2.21`
- Fuente de verdad: [VERSION](/home/mgonzalez/desarrollo/react/linkedsign/VERSION)
- Historial de cambios: [CHANGELOG.md](/home/mgonzalez/desarrollo/react/linkedsign/CHANGELOG.md)
+1 -1
View File
@@ -2,7 +2,7 @@
## Versión actual
- Base actual: `1.2.20`
- Base actual: `1.2.21`
- Fuente de verdad: [VERSION](/home/mgonzalez/desarrollo/react/linkedsign/VERSION)
- Historial de cambios: [CHANGELOG.md](/home/mgonzalez/desarrollo/react/linkedsign/CHANGELOG.md)
+1 -1
View File
@@ -1 +1 @@
1.2.20
1.2.21
+2 -2
View File
@@ -18,8 +18,8 @@ android {
applicationId "net.linkedcorp.linkedsign"
minSdk 26
targetSdk 35
versionCode 10220
versionName "1.2.20"
versionCode 10221
versionName "1.2.21"
buildConfigField "String", "API_BASE_URL", "\"${apiBaseUrl}\""
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "linkedsign-backend",
"version": "1.2.20",
"version": "1.2.21",
"private": true,
"description": "Initial backend for LinkedSign",
"main": "src/server.js",
+10 -3
View File
@@ -285,9 +285,16 @@ async function drawStyleFirmaEC(pdfDoc, page, sx, sy, sw, sh, { signerName, veri
// Background
const bgColor = useSoftBackground ? C.bgBlue : C.white;
page.drawRectangle({ x: sx, y: sy, width: sw, height: sh, color: bgColor });
const borderColor = useBorder ? rgb(0.15, 0.15, 0.15) : rgb(0.70, 0.70, 0.72);
const borderWidth = useBorder ? 0.85 : 0.5;
page.drawRectangle({ x: sx, y: sy, width: sw, height: sh, borderColor, borderWidth });
if (useBorder) {
page.drawRectangle({
x: sx,
y: sy,
width: sw,
height: sh,
borderColor: rgb(0.15, 0.15, 0.15),
borderWidth: 0.85,
});
}
// QR image
const qrX = qrOnRight ? sx + sw - qrSize - 4 : sx + 4;
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
"version": "1.2.20",
"version": "1.2.21",
"type": "module",
"scripts": {
"dev": "vite",
+1 -1
View File
@@ -1872,7 +1872,7 @@ select {
display: flex;
align-items: stretch;
background: #fff;
border: 1px solid rgba(0, 0, 0, 0.12);
border: 1px solid transparent;
padding: 8px;
gap: 8px;
}