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 {
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 renderFactory: RenderFactory
) : JPanel() {
......@@ -33,7 +33,7 @@ open class SkiaLayer internal constructor(
internal val backedLayer: HardwareLayer
internal constructor(
constructor(
properties: SkiaLayerProperties = SkiaLayerProperties()
) : 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