aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
diff options
context:
space:
mode:
authorCephetir <silyichev@gmail.com>2022-05-07 15:58:07 +0300
committerCephetir <silyichev@gmail.com>2022-05-07 15:58:07 +0300
commit5a7c1803dfeeda9a88dc4c290d60e907a43aeebd (patch)
tree62c69c0bfedc453db258c59d85fcc471b871459f /src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
parent8dcd0270b25df0437fd583b8221f59943cfe4372 (diff)
downloadChatting-5a7c1803dfeeda9a88dc4c290d60e907a43aeebd.tar.gz
Chatting-5a7c1803dfeeda9a88dc4c290d60e907a43aeebd.tar.bz2
Chatting-5a7c1803dfeeda9a88dc4c290d60e907a43aeebd.zip
FINALLY fixed timestamps
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt')
-rw-r--r--src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
index d1a6ae9..2b163c5 100644
--- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
+++ b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
@@ -107,13 +107,21 @@ object ChattingConfig :
@Property(
type = PropertyType.SWITCH,
name = "Show Timestamp",
- description = "Show message timestamp on hover.",
+ description = "Show message timestamp.",
category = "General"
)
var showTimestamp = false
@Property(
type = PropertyType.SWITCH,
+ name = "Timestamp Only On Hover",
+ description = "Show timestamp only on mouse hover.",
+ category = "General"
+ )
+ var showTimestampHover = true
+
+ @Property(
+ type = PropertyType.SWITCH,
name = "Custom Chat Height",
description = "Allows you to change the height of chat to heights greater than before.",
category = "Chat Window"
@@ -243,6 +251,7 @@ object ChattingConfig :
chatShortcuts = funny
ChatShortcuts.initialize()
}
+ addDependency("showTimestampHover", "showTimestamp")
}
private object ConfigSorting : SortingBehavior() {