diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-05-08 11:38:43 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-05-08 11:38:43 +0700 |
commit | 5abc943439c1439a98ca06feb6d740cb3c1fa159 (patch) | |
tree | a25a2b63bc7fe11bfc641f20ce09c845fee90870 /src/main/kotlin/cc/woverflow/chatting | |
parent | f91dbeef8de0913d584ff797efe8ba0d0d1833c0 (diff) | |
download | Chatting-5abc943439c1439a98ca06feb6d740cb3c1fa159.tar.gz Chatting-5abc943439c1439a98ca06feb6d740cb3c1fa159.tar.bz2 Chatting-5abc943439c1439a98ca06feb6d740cb3c1fa159.zip |
disable timestamps for now
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting')
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt | 5 | ||||
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/utils/renderutils.kt | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt index 2b163c5..bc3aa31 100644 --- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt +++ b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt @@ -104,6 +104,7 @@ object ChattingConfig : ) var customFormatting = false + /*/ @Property( type = PropertyType.SWITCH, name = "Show Timestamp", @@ -120,6 +121,8 @@ object ChattingConfig : ) var showTimestampHover = true + */ + @Property( type = PropertyType.SWITCH, name = "Custom Chat Height", @@ -251,7 +254,7 @@ object ChattingConfig : chatShortcuts = funny ChatShortcuts.initialize() } - addDependency("showTimestampHover", "showTimestamp") + //addDependency("showTimestampHover", "showTimestamp") } private object ConfigSorting : SortingBehavior() { diff --git a/src/main/kotlin/cc/woverflow/chatting/utils/renderutils.kt b/src/main/kotlin/cc/woverflow/chatting/utils/renderutils.kt index 7a5f5d4..19835ac 100644 --- a/src/main/kotlin/cc/woverflow/chatting/utils/renderutils.kt +++ b/src/main/kotlin/cc/woverflow/chatting/utils/renderutils.kt @@ -216,7 +216,7 @@ fun Framebuffer.screenshot(file: File): BufferedImage { } return bufferedimage } - +/*/ private val timePattern = Regex("\\[\\d+:\\d+:\\d+]") private var lastLines = mutableListOf<ChatLine>() fun timestampPre() { @@ -262,4 +262,6 @@ private fun getChatLineOverMouse(mouseX: Int, mouseY: Int): ChatLine? { return drawnChatLines[m] } return null -}
\ No newline at end of file +} + + */
\ No newline at end of file |