mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-28 16:29:49 +00:00
change
This commit is contained in:
+2
-2
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user