aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2023-01-15 17:58:50 -0500
committerWyvest <45589059+Wyvest@users.noreply.github.com>2023-01-15 17:58:50 -0500
commitd911fe8ded771c54c327cfef2783c0cda1c71f2b (patch)
tree30d64492ecde459b4caab320eaff1a6121024433 /src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
parent9234829c2aeb4ca7e2d270273a803dc6e98fd889 (diff)
downloadChatting-d911fe8ded771c54c327cfef2783c0cda1c71f2b.tar.gz
Chatting-d911fe8ded771c54c327cfef2783c0cda1c71f2b.tar.bz2
Chatting-d911fe8ded771c54c327cfef2783c0cda1c71f2b.zip
add smooth messages and smooth scrolling
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt')
-rw-r--r--src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt19
1 files changed, 13 insertions, 6 deletions
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,11 +56,23 @@ 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"
)
var showChatHeads = true