remove a couple redundant variables

This commit is contained in:
tibbi 2016-10-12 23:47:33 +02:00
parent d3567b0b95
commit 2cdc142ee9

View File

@ -35,9 +35,6 @@ class Breadcrumbs(context: Context, attrs: AttributeSet) : LinearLayout(context,
}
override fun onLayout(changed: Boolean, l: Int, t: Int, r: Int, b: Int) {
val paddingTop = paddingTop
val paddingLeft = paddingLeft
val paddingRight = paddingRight
val childRight = measuredWidth - paddingRight
val childBottom = measuredHeight - paddingBottom
val childHeight = childBottom - paddingTop