correction bug taille page

This commit is contained in:
NonoL3Robot
2022-03-13 12:22:27 +01:00
parent 5dab88bb8f
commit 04a31d8a88
+1 -1
View File
@@ -226,7 +226,7 @@ public class PdfPanel extends JPanel {
taille = (viewportWidth - scrollpaneWidth) / pdfMinWidth - zoom;
} else {
float viewportHeight = viewport.getHeight();
float scrollpaneHeight = scrollPane.getVerticalScrollBar()
float scrollpaneHeight = scrollPane.getHorizontalScrollBar()
.getHeight();
float pdfMinHeight = pdfLoader.getMinHeight();