summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-11-18 11:56:20 +0100
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-11-18 11:56:20 +0100
commitb12aa661dda123c764de0e0cc6753daba070e6df (patch)
tree6e2ab061ec39c4682b9f42d0ca4580ed467b0099 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
parent8da1a7bc8e87ce56ada419fc68baa5c18cd77cc3 (diff)
downloadpdf-over-b12aa661dda123c764de0e0cc6753daba070e6df.tar.gz
pdf-over-b12aa661dda123c764de0e0cc6753daba070e6df.tar.bz2
pdf-over-b12aa661dda123c764de0e0cc6753daba070e6df.zip
also for initial signature position
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
index a6f70ff0..df880459 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
@@ -295,8 +295,8 @@ public class SignaturePanel extends JPanel {
if (this.sigPagePos == null)
{
setSignaturePosition(
- actualPageSize.getWidth() * .5,
- actualPageSize.getHeight() * .75
+ this.pageWidth * .5,
+ this.pageHeight * .75
);
}
}