Commit c83512e7 authored by Roman Sedaikin's avatar Roman Sedaikin

Initial values for rounded size.

parent 69c02ca7
......@@ -116,8 +116,8 @@ open class SkiaLayer(
}
override fun setBounds(x: Int, y: Int, width: Int, height: Int) {
var roundedWidth = 0
var roundedHeight = 0
var roundedWidth = width
var roundedHeight = height
if (isInited) {
roundedWidth = roundSize(width)
roundedHeight = roundSize(height)
......
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