From d911fe8ded771c54c327cfef2783c0cda1c71f2b Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Sun, 15 Jan 2023 17:58:50 -0500 Subject: add smooth messages and smooth scrolling --- .../cc/woverflow/chatting/config/ChattingConfig.kt | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'src/main/kotlin') diff --git a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt index d0cfd71..599f101 100644 --- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt +++ b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt @@ -29,11 +29,6 @@ object ChattingConfig : Config( ) var textRenderType = 1 - @Switch( - name = "Remove Scroll Bar", category = "General" - ) - var removeScrollBar = true - @Color( name = "Chat Background Color", category = "General", allowAlpha = false ) @@ -61,10 +56,22 @@ object ChattingConfig : Config( @Switch( name = "Smooth Chat Messages", - category = "Animations" + category = "Animations", subcategory = "Messages" ) var smoothChat = true + @Switch( + name = "Smooth Chat Scrolling", + category = "Animations", subcategory = "Scrolling" + ) + var smoothScrolling = true + + @Switch( + name = "Remove Scroll Bar", + category = "Animations", subcategory = "Scrolling" + ) + var removeScrollBar = true + @Switch( name = "Show Chat Heads", description = "Show the chat heads of players in chat", category = "Chat Heads" ) -- cgit