From 4e587bc97c3aee3c3458a6ac60a43122f7c7971e Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Sun, 16 Jan 2022 16:27:15 +0700 Subject: new: remove scroll bar new: chat background color fix: fix chat tab buttons not having bordered text --- .../cc/woverflow/chatting/config/ChattingConfig.kt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/main/kotlin/cc/woverflow/chatting/config') diff --git a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt index 4065966..1c70b49 100644 --- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt +++ b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt @@ -13,6 +13,7 @@ import gg.essential.vigilance.data.Category import gg.essential.vigilance.data.Property import gg.essential.vigilance.data.PropertyType import gg.essential.vigilance.data.SortingBehavior +import java.awt.Color import java.io.File object ChattingConfig : Vigilant(File(Chatting.modDir, "${Chatting.ID}.toml"), Chatting.NAME, sortingBehavior = ConfigSorting) { @@ -34,6 +35,23 @@ object ChattingConfig : Vigilant(File(Chatting.modDir, "${Chatting.ID}.toml"), C ) var removeTooltipBackground = false + @Property( + type = PropertyType.SWITCH, + name = "Remove Scroll Bar", + description = "Remove the scroll bar.", + category = "General" + ) + var removeScrollBar = false + + @Property( + type = PropertyType.COLOR, + name = "Chat Background Color", + description = "Change the color of the chat background.", + category = "General", + allowAlpha = false + ) + var chatBackgroundColor = Color(0, 0, 0, 50) + @Property( type = PropertyType.SWITCH, name = "Inform for Alternatives", -- cgit