From 380157f6a052a97d2b72a4734783ee49575b62fc Mon Sep 17 00:00:00 2001 From: Lucas Lima Date: Fri, 6 Nov 2020 23:50:14 -0300 Subject: [PATCH] Fix ktlint --- .../common/level/widget/FixedGridLayoutManager.kt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/dev/lucasnlm/antimine/common/level/widget/FixedGridLayoutManager.kt b/common/src/main/java/dev/lucasnlm/antimine/common/level/widget/FixedGridLayoutManager.kt index f70fe787..143a878f 100644 --- a/common/src/main/java/dev/lucasnlm/antimine/common/level/widget/FixedGridLayoutManager.kt +++ b/common/src/main/java/dev/lucasnlm/antimine/common/level/widget/FixedGridLayoutManager.kt @@ -431,7 +431,9 @@ class FixedGridLayoutManager : RecyclerView.LayoutManager() { */ measureChildWithMargins(view, 0, 0) layoutDecorated( - view, leftOffset, topOffset, + view, + leftOffset, + topOffset, leftOffset + mDecoratedChildWidth, topOffset + mDecoratedChildHeight ) @@ -821,7 +823,9 @@ class FixedGridLayoutManager : RecyclerView.LayoutManager() { measureChildWithMargins(child, 0, 0) layoutDecorated( - child, layoutLeft, layoutTop, + child, + layoutLeft, + layoutTop, layoutLeft + mDecoratedChildWidth, layoutTop + mDecoratedChildHeight )