diff --git a/apps/multiplatform/common/src/desktopMain/kotlin/chat/simplex/common/DesktopApp.kt b/apps/multiplatform/common/src/desktopMain/kotlin/chat/simplex/common/DesktopApp.kt index 587786518..c2df4a443 100644 --- a/apps/multiplatform/common/src/desktopMain/kotlin/chat/simplex/common/DesktopApp.kt +++ b/apps/multiplatform/common/src/desktopMain/kotlin/chat/simplex/common/DesktopApp.kt @@ -25,6 +25,10 @@ import java.io.File val simplexWindowState = SimplexWindowState() fun showApp() = application { + // TODO: remove after update to compose 1.5.0+ + // See: https://github.com/JetBrains/compose-multiplatform/issues/3366#issuecomment-1643799976 + System.setProperty("compose.scrolling.smooth.enabled", "false") + // For some reason on Linux actual width will be 10.dp less after specifying it here. If we specify 1366, // it will show 1356. But after that we can still update it to 1366 by changing window state. Just making it +10 now here val width = if (desktopPlatform.isLinux()) 1376.dp else 1366.dp