Unverified Commit 21823143 authored by Igor Demin's avatar Igor Demin Committed by GitHub

Fix SkiaLayer constructor (#220)

parent a0d5e2fe
...@@ -16,7 +16,7 @@ interface SkiaRenderer { ...@@ -16,7 +16,7 @@ interface SkiaRenderer {
private class PictureHolder(val instance: Picture, val width: Int, val height: Int) private class PictureHolder(val instance: Picture, val width: Int, val height: Int)
open class SkiaLayer internal constructor( open class SkiaLayer internal constructor(
private val properties: SkiaLayerProperties = SkiaLayerProperties(), private val properties: SkiaLayerProperties = SkiaLayerProperties(),
private val renderFactory: RenderFactory private val renderFactory: RenderFactory
) : JPanel() { ) : JPanel() {
...@@ -33,7 +33,7 @@ open class SkiaLayer internal constructor( ...@@ -33,7 +33,7 @@ open class SkiaLayer internal constructor(
internal val backedLayer: HardwareLayer internal val backedLayer: HardwareLayer
internal constructor( constructor(
properties: SkiaLayerProperties = SkiaLayerProperties() properties: SkiaLayerProperties = SkiaLayerProperties()
) : this(properties, RenderFactory.Default) ) : this(properties, RenderFactory.Default)
......
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