aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/gui/config
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-06-01 02:04:48 +0200
committerLinnea Gräf <nea@nea.moe>2024-06-01 02:04:48 +0200
commitfc7fde2c9b8516543c81791ecad355b0aecfffe6 (patch)
treeed6c3be5585dc06ada0d0272b532b772df39ba4c /src/main/kotlin/moe/nea/firmament/gui/config
parent954ca05374946fdf15cf0dd3047d205070c7dfb7 (diff)
downloadfirmament-fc7fde2c9b8516543c81791ecad355b0aecfffe6.tar.gz
firmament-fc7fde2c9b8516543c81791ecad355b0aecfffe6.tar.bz2
firmament-fc7fde2c9b8516543c81791ecad355b0aecfffe6.zip
Speed up scrolling in settings GUI
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/gui/config')
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/AllConfigsGui.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/AllConfigsGui.kt b/src/main/kotlin/moe/nea/firmament/gui/config/AllConfigsGui.kt
index 75554c0..1b2b2e4 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/config/AllConfigsGui.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/config/AllConfigsGui.kt
@@ -59,6 +59,7 @@ object AllConfigsGui {
it.insets = Insets.ROOT_PANEL
box.layout()
it.add(WFixedPanel((WScrollPanel((box)).also {
+ it.verticalScrollBar.scrollingSpeed = 12
it.setSize(400, 300)
})))
it.setSize(400, 300)