Commit c83512e7 authored by Roman Sedaikin's avatar Roman Sedaikin

Initial values for rounded size.

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