Skip to content

Commit 54ef7d2

Browse files
committed
fix: avoid render mode scope leakage in SignatureStamp defaults
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent d2c0791 commit 54ef7d2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/views/Settings/SignatureStamp.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,8 @@ const SIGNATURE_TEXT_DEFAULTS = {
371371
signatureFontSize: Number(loadState<number>('libresign', 'default_signature_font_size', 9.0)),
372372
signatureWidth: Number(loadState<number>('libresign', 'default_signature_width', 90.0)),
373373
signatureHeight: Number(loadState<number>('libresign', 'default_signature_height', 60.0)),
374-
renderMode: loadState<string>('libresign', 'signature_render_mode', 'GRAPHIC_AND_DESCRIPTION'),
374+
// Reset must use canonical default, not current effective value.
375+
renderMode: 'GRAPHIC_AND_DESCRIPTION',
375376
}
376377
377378
const isDarkTheme = useIsDarkTheme()

0 commit comments

Comments
 (0)