Skip to content

Commit fa9e47a

Browse files
authored
Merge pull request #240 from SamCosta1/feature/bump-kcef-version
Bump the KCEF dependency version
2 parents 63ec14f + 9b154fa commit fa9e47a

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

sample/desktopApp/src/jvmMain/kotlin/main.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ fun main() =
3232
initialized = true
3333
}
3434
}
35-
release("jbr-release-17.0.10b1087.23")
35+
download {
36+
github {
37+
release("jbr-release-17.0.12b1207.37")
38+
}
39+
}
40+
3641
settings {
3742
cachePath = File("cache").absolutePath
3843
}

webview/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ kotlin {
6464
val desktopMain by getting {
6565
dependencies {
6666
implementation(compose.desktop.common)
67-
api("dev.datlag:kcef:2024.01.07.1")
67+
api("dev.datlag:kcef:2024.04.20.3")
6868
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-swing:$coroutinesVersion")
6969
}
7070
}

webview/src/desktopMain/kotlin/com/multiplatform/webview/web/WebEngineExt.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ internal fun CefBrowser.addDisplayHandler(state: WebViewState) {
5151
state.pageTitle = title
5252
}
5353

54+
override fun onFullscreenModeChange(
55+
p0: CefBrowser?,
56+
p1: Boolean,
57+
) {
58+
// Not supported
59+
}
60+
5461
override fun onTooltip(
5562
browser: CefBrowser?,
5663
text: String?,

0 commit comments

Comments
 (0)