summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@iaik.tugraz.at>2021-07-12 05:38:33 -0700
committerAndreas Abraham <andreas.abraham@iaik.tugraz.at>2021-07-12 05:38:33 -0700
commit9d3568d62141153cb901c9b1a45e71dc03bbf717 (patch)
treecdb2686149800b4d0fcde4d9081489b5a737258b /pdf-over-gui/src/main/java/at
parentcd70045d1127a5ace49ac03f10cab1cd58f914cf (diff)
downloadpdf-over-9d3568d62141153cb901c9b1a45e71dc03bbf717.tar.gz
pdf-over-9d3568d62141153cb901c9b1a45e71dc03bbf717.tar.bz2
pdf-over-9d3568d62141153cb901c9b1a45e71dc03bbf717.zip
Fixed Issue 42
Diffstat (limited to 'pdf-over-gui/src/main/java/at')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java
index 77b8c7c3..da004747 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java
@@ -309,9 +309,10 @@ public class PositioningComposite extends StateComposite {
int newPage = PositioningComposite.this.currentPage;
if (e.getWheelRotation() < 0) {
- if (PositioningComposite.this.currentPage > 1)
+ if (PositioningComposite.this.currentPage > 1) {
System.out.println("################## page " + newPage);
newPage--;
+ }
} else if (e.getWheelRotation() > 0) {
if (PositioningComposite.this.currentPage < PositioningComposite.this.numPages)
newPage++;