Skip to content

Commit 1a8a213

Browse files
fixed slow scrolling; updated ver for prev. commit
1 parent 1df1012 commit 1a8a213

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/com/CDPrintable/ProgramWindow.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ private JPanel previewPanel() {
9999

100100
// Make a JScrollPane for the image panel
101101
JScrollPane imageScrollPane = new JScrollPane(imagePanel);
102+
imageScrollPane.getVerticalScrollBar().setUnitIncrement(20);
103+
imageScrollPane.getHorizontalScrollBar().setUnitIncrement(20);
102104

103105
// Add buttons to the button panel
104106
buttonPanel.add(refreshButton);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Application version.
22

33
# MAJOR MINOR PATCH
4-
version=2.1.1
4+
version=2.2.1

0 commit comments

Comments
 (0)