From c68035e02240469f94905ae8edccf9222e027485 Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Sat, 26 Mar 2022 12:47:57 +0700 Subject: fix alpha of chat background --- src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/cc') 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) -- cgit