You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/components/SignatureOverlay/SignatureOverlay.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,10 @@ class SignatureOverlay extends React.PureComponent {
60
60
freeHandAnnot&&!freeHandAnnot.getPaths().length
61
61
){
62
62
// location of signatureTool will be set when clicking on a signature widget
63
-
// we want to clear location when the overlay is closed without selecting any default signatures
63
+
// we want to clear location when the overlay is closed without any default signatures selected
64
64
// to prevent signature from being drawn to the previous location
65
+
// however the overlay will be closed without any default signature selected if we clicked the "add signature" button(which opens the signature modal)
66
+
// we don't want to clear the location in the case because we still want the signature to be automatically added to the widget after the create button is hit in the modal
0 commit comments