diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2023-01-14 15:23:07 -0500 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2023-01-14 15:23:07 -0500 |
commit | 9234829c2aeb4ca7e2d270273a803dc6e98fd889 (patch) | |
tree | 84950cdfe6b1d09bac89e7022bd95a7956d5c060 /src/main/kotlin/cc/woverflow/chatting | |
parent | ee8f9de5a156f356e53eb70476f05cd2bf07ae89 (diff) | |
download | Chatting-9234829c2aeb4ca7e2d270273a803dc6e98fd889.tar.gz Chatting-9234829c2aeb4ca7e2d270273a803dc6e98fd889.tar.bz2 Chatting-9234829c2aeb4ca7e2d270273a803dc6e98fd889.zip |
add smooth messages
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting')
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt | 1 | ||||
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt b/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt index c2329b4..76659ed 100644 --- a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt +++ b/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt @@ -26,6 +26,7 @@ object ChatTabs { return returnValue } } + var hasCancelledAnimation = false private var initialized = false private val tabFile = ConfigUtils.getProfileFile("chattabs.json") diff --git a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt index 86db2cc..d0cfd71 100644 --- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt +++ b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt @@ -32,7 +32,7 @@ object ChattingConfig : Config( @Switch( name = "Remove Scroll Bar", category = "General" ) - var removeScrollBar = false + var removeScrollBar = true @Color( name = "Chat Background Color", category = "General", allowAlpha = false @@ -60,6 +60,12 @@ object ChattingConfig : Config( var informForAlternatives = true @Switch( + name = "Smooth Chat Messages", + category = "Animations" + ) + var smoothChat = true + + @Switch( name = "Show Chat Heads", description = "Show the chat heads of players in chat", category = "Chat Heads" ) var showChatHeads = true @@ -123,7 +129,7 @@ object ChattingConfig : Config( @Switch( name = "Custom Chat Height", category = "Chat Window" ) - var customChatHeight = true + var customChatHeight = false @Slider( min = 180F, max = 2160F, name = "Focused Height (px)", category = "Chat Window" |