diff options
author | Jacob <42344274+jacobk999@users.noreply.github.com> | 2022-03-27 19:55:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 06:55:07 +0700 |
commit | b8aa42e5564714a4fbf611ccae42ed3b6905405c (patch) | |
tree | 53fd4a96a1253b69ca49f472fac69735deb6e8f9 /src | |
parent | c68035e02240469f94905ae8edccf9222e027485 (diff) | |
download | Chatting-b8aa42e5564714a4fbf611ccae42ed3b6905405c.tar.gz Chatting-b8aa42e5564714a4fbf611ccae42ed3b6905405c.tar.bz2 Chatting-b8aa42e5564714a4fbf611ccae42ed3b6905405c.zip |
fix(config): chat height have a reasonable limit (#5)
Makes it so the chat height can only go up to 2,160. 10,000 is super unreasonable and makes it harder to get a precise number. It would be best if you could just type in the number.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt | 6 |
1 files changed, 3 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 4684e22..ae2187f 100644 --- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt +++ b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt @@ -89,7 +89,7 @@ object ChattingConfig : @Property( type = PropertyType.SLIDER, min = 180, - max = 10000, + max = 2160, name = "Focused Height", description = "Height in pixels.", category = "Chat Window" @@ -99,7 +99,7 @@ object ChattingConfig : @Property( type = PropertyType.SLIDER, min = 180, - max = 10000, + max = 2160, name = "Unfocused Height", description = "Height in pixels.", category = "Chat Window" @@ -219,4 +219,4 @@ object ChattingConfig : } } } -}
\ No newline at end of file +} |