Skip to content
Snippets Groups Projects
Commit 0e58b900 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #18718 TIME 0:10 fix empty width

parent d4cf1b99
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ export class SignaturesComponent implements OnInit {
let percentWidth: any;
const signatureScaling: any = this.authService.user.preferences.signatureScaling;
const signatureWidth: number = this.signatureWidth >= this.documentWidth ? 100 : (this.signatureWidth * 100) / this.documentWidth;
if (signatureScaling === undefined) {
if (signatureScaling === false) {
percentWidth = 25;
} else {
percentWidth = signatureScaling === false ? signatureWidth : signatureScaling;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment