Browse Source

web: update for kotlin 1.7.0

pull/2174/head
Oleksandr Karpovich 3 years ago committed by Igor Demin
parent
commit
dfe7e40eef
  1. 4
      web/buildSrc/src/main/kotlin/SeleniumDriverPlugin.kt
  2. 1
      web/widgets/src/jsMain/kotlin/layouts/text.kt

4
web/buildSrc/src/main/kotlin/SeleniumDriverPlugin.kt

@ -4,8 +4,8 @@ import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
import java.io.File
import java.net.URL
private val CHROME_DRIVER_VERSION = "98.0.4758.48"
private val GECKO_DRIVER_VERSION = "0.30.0"
private val CHROME_DRIVER_VERSION = "102.0.5005.61"
private val GECKO_DRIVER_VERSION = "0.31.0"
private fun download(url: String, file: File) {
println("downloading ${url} to ${file}")

1
web/widgets/src/jsMain/kotlin/layouts/text.kt

@ -33,6 +33,7 @@ internal actual fun TextActual(
when (size.unitType) {
TextUnitType.Em -> fontSize(size.value.em)
TextUnitType.Sp -> fontSize(size.value.px)
else -> fontSize(size.value.px)
}
}

Loading…
Cancel
Save