Unverified Commit b5c44f23 authored by ApoloApps's avatar ApoloApps Committed by GitHub

Fix possible logic error in SkiaSwingLayer (#1199)

parent 8ef2b12d
...@@ -39,7 +39,7 @@ open class SkiaSwingLayer( ...@@ -39,7 +39,7 @@ open class SkiaSwingLayer(
@Volatile @Volatile
private var isDisposed = false private var isDisposed = false
val clipComponents: MutableList<ClipRectangle> get() = mutableListOf() val clipComponents: MutableList<ClipRectangle> = mutableListOf()
private val renderDelegateWithClipping = SkikoRenderDelegate { canvas, width, height, nanoTime -> private val renderDelegateWithClipping = SkikoRenderDelegate { canvas, width, height, nanoTime ->
val scale = graphicsConfiguration.defaultTransform.scaleX.toFloat() val scale = graphicsConfiguration.defaultTransform.scaleX.toFloat()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment