diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-03-26 12:47:57 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-03-26 12:47:57 +0700 |
commit | c68035e02240469f94905ae8edccf9222e027485 (patch) | |
tree | e7340611943dbed345de3388ddc9c5745a5f8c2d /src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt | |
parent | 56ffd09c8018d8a1f740cd020d970393cc2abfda (diff) | |
download | Chatting-c68035e02240469f94905ae8edccf9222e027485.tar.gz Chatting-c68035e02240469f94905ae8edccf9222e027485.tar.bz2 Chatting-c68035e02240469f94905ae8edccf9222e027485.zip |
fix alpha of chat background
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt')
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt index 223de76..4684e22 100644 --- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt +++ b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt @@ -48,7 +48,8 @@ object ChattingConfig : type = PropertyType.COLOR, name = "Chat Background Color", description = "Change the color of the chat background.", - category = "General" + category = "General", + allowAlpha = false ) var chatBackgroundColor = Color(0, 0, 0, 128) @@ -56,7 +57,8 @@ object ChattingConfig : type = PropertyType.COLOR, name = "Copy Chat Message Background Color", description = "Change the color of chat messages that are ready to copy.", - category = "General" + category = "General", + allowAlpha = false ) var hoveredChatBackgroundColor = Color(80, 80, 80, 128) |