mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
negative max dialog size as infinity
This commit is contained in:
parent
5265d81176
commit
a392702df2
6 changed files with 44 additions and 6 deletions
|
|
@ -461,7 +461,7 @@ object ConfigOptions {
|
|||
.config
|
||||
.getInt(DIALOG_MAX_SIZE, DEFAULT_DIALOG_MAX_SIZE)
|
||||
.takeIf { it in DIALOG_MAX_SIZE_RANGE }
|
||||
?: DEFAULT_DIALOG_MAX_SIZE
|
||||
?: Int.MAX_VALUE
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue