diff options
| author | Natalia Spence <52349324+Septikai@users.noreply.github.com> | 2025-11-17 18:49:14 +0000 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-11-17 23:10:28 +0100 |
| commit | 54206c51148255320ad8bc8d03c122d24b98b459 (patch) | |
| tree | c6f658806cf6bb08fe88390af53f4bca0ec48407 /src/main/kotlin/features/fixes/Fixes.kt | |
| parent | c7669dc363716c63f987c29809997b2787349370 (diff) | |
| download | Firmament-54206c51148255320ad8bc8d03c122d24b98b459.tar.gz Firmament-54206c51148255320ad8bc8d03c122d24b98b459.tar.bz2 Firmament-54206c51148255320ad8bc8d03c122d24b98b459.zip | |
feat: add option to allow scrolling on chat peek
Co-Authored-By: Linnea Gräf <nea@nea.moe>
(cherry picked from commit 73ff3648c3fc52b817456bfad3ff0380a55cdc43)
Diffstat (limited to 'src/main/kotlin/features/fixes/Fixes.kt')
| -rw-r--r-- | src/main/kotlin/features/fixes/Fixes.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/kotlin/features/fixes/Fixes.kt b/src/main/kotlin/features/fixes/Fixes.kt index 161c7e5..bb17536 100644 --- a/src/main/kotlin/features/fixes/Fixes.kt +++ b/src/main/kotlin/features/fixes/Fixes.kt @@ -25,6 +25,7 @@ object Fixes { val autoSprintUnderWater by toggle("auto-sprint-underwater") { true } val autoSprintHud by position("auto-sprint-hud", 80, 10) { Vector2i() } val peekChat by keyBindingWithDefaultUnbound("peek-chat") + val peekChatScroll by toggle("peek-chat-scroll") { false } val hidePotionEffects by toggle("hide-mob-effects") { false } val hidePotionEffectsHud by toggle("hide-potion-effects-hud") { false } val noHurtCam by toggle("disable-hurt-cam") { false } @@ -77,4 +78,8 @@ object Fixes { fun shouldPeekChat(): Boolean { return TConfig.peekChat.isPressed(atLeast = true) } + + fun shouldScrollPeekedChat(): Boolean { + return TConfig.peekChatScroll + } } |
