From 5a7c1803dfeeda9a88dc4c290d60e907a43aeebd Mon Sep 17 00:00:00 2001 From: Cephetir Date: Sat, 7 May 2022 15:58:07 +0300 Subject: FINALLY fixed timestamps --- .../kotlin/cc/woverflow/chatting/config/ChattingConfig.kt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt') 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,11 +107,19 @@ 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", @@ -243,6 +251,7 @@ object ChattingConfig : chatShortcuts = funny ChatShortcuts.initialize() } + addDependency("showTimestampHover", "showTimestamp") } private object ConfigSorting : SortingBehavior() { -- cgit