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-17 09:44:34 -0500
committerWyvest <45589059+Wyvest@users.noreply.github.com>2023-01-17 09:44:34 -0500
commit5822703b7d770ec67a4c4ca00192006b8f0cb9b9 (patch)
tree7ded70762db28ec2321ce25bd20d3313a26c52df /src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
parent6120b123648f2ccf7a5d5efea1a5c3600a725196 (diff)
downloadChatting-5822703b7d770ec67a4c4ca00192006b8f0cb9b9.tar.gz
Chatting-5822703b7d770ec67a4c4ca00192006b8f0cb9b9.tar.bz2
Chatting-5822703b7d770ec67a4c4ca00192006b8f0cb9b9.zip
smooth messages / scrolling animation speed
fix sending messages (again lol)
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt')
-rw-r--r--src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
index 599f101..9fa67ed 100644
--- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
+++ b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
@@ -60,12 +60,26 @@ object ChattingConfig : Config(
)
var smoothChat = true
+ @Slider(
+ name = "Message Animation Speed",
+ category = "Animations", subcategory = "Messages",
+ min = 0.0f, max = 1.0f
+ )
+ var messageSpeed = 0.5f
+
@Switch(
name = "Smooth Chat Scrolling",
category = "Animations", subcategory = "Scrolling"
)
var smoothScrolling = true
+ @Slider(
+ name = "Scrolling Animation Speed",
+ category = "Animations", subcategory = "Scrolling",
+ min = 0.0f, max = 1.0f
+ )
+ var scrollingSpeed = 0.15f
+
@Switch(
name = "Remove Scroll Bar",
category = "Animations", subcategory = "Scrolling"