From f2e232f3660df0b557166296ae43dd0791c3696c Mon Sep 17 00:00:00 2001 From: Wyvest Date: Mon, 11 Mar 2024 14:52:11 +0700 Subject: [PATCH] change some defaults --- gradle.properties | 2 +- src/main/kotlin/org/polyfrost/chatting/chat/ChatWindow.kt | 6 +++++- .../org/polyfrost/chatting/config/ChattingConfig.kt | 8 ++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gradle.properties b/gradle.properties index e422a4b..4dc31ca 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ mod_name = Chatting mod_id = chatting -mod_version = 1.5.3 +mod_version = 1.6.0 mod_archives_name = Chatting # Gradle Configuration -- DO NOT TOUCH THESE VALUES. diff --git a/src/main/kotlin/org/polyfrost/chatting/chat/ChatWindow.kt b/src/main/kotlin/org/polyfrost/chatting/chat/ChatWindow.kt index 38bd311..8a6fee1 100644 --- a/src/main/kotlin/org/polyfrost/chatting/chat/ChatWindow.kt +++ b/src/main/kotlin/org/polyfrost/chatting/chat/ChatWindow.kt @@ -18,7 +18,7 @@ import org.polyfrost.chatting.Chatting import org.polyfrost.chatting.config.ChattingConfig import org.polyfrost.chatting.utils.* -class ChatWindow : BasicHud(true, 2f, 1080 - 27f - 45f) { +class ChatWindow : BasicHud(true, 2f, 1080 - 27f - 45f - 12f) { @Exclude private val exampleList: List = listOf( @@ -67,6 +67,10 @@ class ChatWindow : BasicHud(true, 2f, 1080 - 27f - 45f) { var unfocusedHeight = 90 get() = field.coerceIn(20, 2160) + init { + showInDebug = true + } + override fun draw(matrices: UMatrixStack?, x: Float, y: Float, scale: Float, example: Boolean) { if (!example) return diff --git a/src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt b/src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt index 21e3481..515ed8a 100644 --- a/src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt +++ b/src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt @@ -65,9 +65,9 @@ object ChattingConfig : Config( var chatPeak = false @Switch( - name = "Scrolling", + name = "Chat Peak Scrolling", ) - var peakScrolling = false + var peakScrolling = true @KeyBind( name = "Peak KeyBind" @@ -79,7 +79,7 @@ object ChattingConfig : Config( left = "Held", right = "Toggle" ) - var peakMode = true + var peakMode = false @Switch( name = "Smooth Chat Messages", @@ -300,7 +300,7 @@ object ChattingConfig : Config( @Info( category = "Tabs", type = InfoType.INFO, - text = "You can use shift to select multiple tabs, as well as ctrl + tab to switch to the next tab", + text = "You can use the SHIFT key to select multiple tabs, as well as CTRL + TAB to switch to the next tab.", size = 2 ) @Transient