skiko/src/awtMain/kotlin/org/jetbrains/skiko/context/AngleContextHandler.kt [15:28]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - private var currentWidth = 0 private var currentHeight = 0 private fun isSizeChanged(width: Int, height: Int): Boolean { if (width != currentWidth || height != currentHeight) { currentWidth = width currentHeight = height return true } return false } override fun initCanvas() { val context = context ?: return val scale = layer.contentScale - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - skiko/src/awtMain/kotlin/org/jetbrains/skiko/context/Direct3DContextHandler.kt [22:35]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - private var currentWidth = 0 private var currentHeight = 0 private fun isSizeChanged(width: Int, height: Int): Boolean { if (width != currentWidth || height != currentHeight) { currentWidth = width currentHeight = height return true } return false } override fun initCanvas() { val context = context ?: return val scale = layer.contentScale - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -