mirror of
https://github.com/LucasVbr/LecteurPdfDoubleAffichage.git
synced 2026-05-16 17:11:50 +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;
|
||||
} else {
|
||||
float viewportHeight = viewport.getHeight();
|
||||
float scrollpaneHeight = scrollPane.getVerticalScrollBar()
|
||||
float scrollpaneHeight = scrollPane.getHorizontalScrollBar()
|
||||
.getHeight();
|
||||
float pdfMinHeight = pdfLoader.getMinHeight();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user