change
This commit is contained in:
parent
ff85022669
commit
2c9866a107
@ -14,8 +14,8 @@ data class WindowPositionSize(
|
||||
) {
|
||||
fun safeValues(): WindowPositionSize =
|
||||
copy(
|
||||
x = x.coerceIn(0, 10000),
|
||||
y = x.coerceIn(0, 10000),
|
||||
x = x.coerceIn(-500, 10000),
|
||||
y = x.coerceIn(-100, 10000),
|
||||
width = width.coerceIn(100, 10000),
|
||||
height = height.coerceIn(100, 10000)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user