From 2c9866a10742dd07b4ccd67c4c093236ca172f62 Mon Sep 17 00:00:00 2001 From: Avently <7953703+avently@users.noreply.github.com> Date: Tue, 6 Feb 2024 22:28:14 +0700 Subject: [PATCH] change --- .../kotlin/chat/simplex/common/StoreWindowState.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/multiplatform/common/src/desktopMain/kotlin/chat/simplex/common/StoreWindowState.kt b/apps/multiplatform/common/src/desktopMain/kotlin/chat/simplex/common/StoreWindowState.kt index 9d8e5850b7..05ef27067c 100644 --- a/apps/multiplatform/common/src/desktopMain/kotlin/chat/simplex/common/StoreWindowState.kt +++ b/apps/multiplatform/common/src/desktopMain/kotlin/chat/simplex/common/StoreWindowState.kt @@ -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) )