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:04:40 +0100 |
| commit | 73ff3648c3fc52b817456bfad3ff0380a55cdc43 (patch) | |
| tree | 64ea3ad1df4993deacded7de1b2874a47dc352ed /src/main/kotlin/features/fixes | |
| parent | 215178c650d38a4a77fdef6dc8815c07bef29c25 (diff) | |
| download | Firmament-mc-1.21.7.tar.gz Firmament-mc-1.21.7.tar.bz2 Firmament-mc-1.21.7.zip | |
feat: add option to allow scrolling on chat peekmc-1.21.7
Diffstat (limited to 'src/main/kotlin/features/fixes')
| -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 e7027ac..54218f5 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 + } } |
