mirror of
https://github.com/LucasVbr/LecteurPdfDoubleAffichage.git
synced 2026-07-09 12:47:45 +00:00
correction bug taille page
This commit is contained in:
@@ -226,7 +226,7 @@ public class PdfPanel extends JPanel {
|
|||||||
taille = (viewportWidth - scrollpaneWidth) / pdfMinWidth - zoom;
|
taille = (viewportWidth - scrollpaneWidth) / pdfMinWidth - zoom;
|
||||||
} else {
|
} else {
|
||||||
float viewportHeight = viewport.getHeight();
|
float viewportHeight = viewport.getHeight();
|
||||||
float scrollpaneHeight = scrollPane.getVerticalScrollBar()
|
float scrollpaneHeight = scrollPane.getHorizontalScrollBar()
|
||||||
.getHeight();
|
.getHeight();
|
||||||
float pdfMinHeight = pdfLoader.getMinHeight();
|
float pdfMinHeight = pdfLoader.getMinHeight();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user