mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Sped up mousewheel scroll speed in custom scroll area on WinLoseFrame.
This commit is contained in:
@@ -103,6 +103,7 @@ public class WinLoseFrame extends JFrame {
|
|||||||
|
|
||||||
// Custom display panel in center; populated later by mode handler.
|
// Custom display panel in center; populated later by mode handler.
|
||||||
JScrollPane scroller = new JScrollPane();
|
JScrollPane scroller = new JScrollPane();
|
||||||
|
scroller.getVerticalScrollBar().setUnitIncrement(16);
|
||||||
pnlCustom = new JPanel(new MigLayout("wrap, fillx"));
|
pnlCustom = new JPanel(new MigLayout("wrap, fillx"));
|
||||||
pnlCustom.setBackground(new Color(111,87,59));
|
pnlCustom.setBackground(new Color(111,87,59));
|
||||||
pnlCustom.setForeground(Color.white);
|
pnlCustom.setForeground(Color.white);
|
||||||
|
|||||||
Reference in New Issue
Block a user