Commit 4fe90d8f authored by Roman Sedaikin's avatar Roman Sedaikin

Changed order for resizing layers.

parent d43ee036
...@@ -122,8 +122,8 @@ open class SkiaLayer( ...@@ -122,8 +122,8 @@ open class SkiaLayer(
roundedWidth = roundSize(width) roundedWidth = roundSize(width)
roundedHeight = roundSize(height) roundedHeight = roundSize(height)
} }
backedLayer.setSize(roundedWidth, roundedHeight)
super.setBounds(x, y, roundedWidth, roundedHeight) super.setBounds(x, y, roundedWidth, roundedHeight)
backedLayer.setSize(roundedWidth, roundedHeight)
} }
override fun paint(g: Graphics) { override fun paint(g: Graphics) {
......
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