Skip to content

Commit

Permalink
Merge pull request #344 from surveyjs/bug/342-load-signature
Browse files Browse the repository at this point in the history
Fixed #342 - Signature Pad doesn't display a signature preview
  • Loading branch information
dk981234 authored Oct 30, 2024
2 parents 764648e + 94f8995 commit 655da33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flat_layout/flat_signaturepad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class FlatSignaturePad extends FlatQuestion {
const height = SurveyHelper.pxToPt(<any>this.question.signatureHeight);
if(this.question.value) {
return await SurveyHelper.createImageFlat(point,
this.question, this.controller, { link: this.question.value,
this.question, this.controller, { link: this.question.storeDataAsText ? this.question.value : this.question.loadedData,
width: width,
height: height }, false
);
Expand Down

0 comments on commit 655da33

Please sign in to comment.