From 526ed0838069ba1c3d0d0bc31a5b1a4067163902 Mon Sep 17 00:00:00 2001 From: Sebastiano Poggi Date: Thu, 29 Feb 2024 19:27:06 +0100 Subject: [PATCH] Update Compose to 1.6.10-dev1457, IJP 241, and fix Standalone bug (#314) * Update CfD to 1.6.10-dev1457 This includes a crash fix in Skiko that would happen when, on certain Linux distro/GPU driver combo, OpenGL isn't available. * Update IJP to 241.14024.14-EAP-SNAPSHOT * Fix default button focused bg in dark Int UI standalone --- gradle/libs.versions.toml | 4 ++-- .../jewel/intui/standalone/styling/IntUiButtonStyling.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index cb0384dcd..6154c6646 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,9 +1,9 @@ [versions] commonmark = "0.21.0" -composeDesktop = "1.6.0-dev1440" +composeDesktop = "1.6.10-dev1457" detekt = "1.23.4" dokka = "1.8.20" -idea = "241.13688.18-EAP-SNAPSHOT" +idea = "241.14024.14-EAP-SNAPSHOT" ideaGradlePlugin = "1.17.1" jna = "5.14.0" kotlin = "1.8.21" diff --git a/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/styling/IntUiButtonStyling.kt b/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/styling/IntUiButtonStyling.kt index f6c4cdd75..28668f627 100644 --- a/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/styling/IntUiButtonStyling.kt +++ b/int-ui/int-ui-standalone/src/main/kotlin/org/jetbrains/jewel/intui/standalone/styling/IntUiButtonStyling.kt @@ -176,7 +176,7 @@ public object IntUiOutlinedButtonColorFactory { public fun dark( background: Brush = SolidColor(Color.Transparent), backgroundDisabled: Brush = SolidColor(IntUiDarkTheme.colors.grey(5)), - backgroundFocused: Brush = SolidColor(IntUiDarkTheme.colors.grey(6)), + backgroundFocused: Brush = background, backgroundPressed: Brush = SolidColor(IntUiDarkTheme.colors.grey(2)), backgroundHovered: Brush = SolidColor(Color.Unspecified), content: Color = IntUiDarkTheme.colors.grey(12),