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) )