From 596af7adb3a021708e6e57f2b3e79601fc9b443a Mon Sep 17 00:00:00 2001 From: Colin White Date: Tue, 5 Dec 2023 14:09:21 -0500 Subject: [PATCH] Fix tests. --- .../kotlin/app/cash/redwood/layout/uiview/YogaUIView.kt | 2 +- ...lexContainerTest_testFlexDistributesWeightEqually[LTR].png | 4 ++-- ...lexContainerTest_testFlexDistributesWeightEqually[RTL].png | 4 ++-- ...xContainerTest_testFlexDistributesWeightUnequally[LTR].png | 4 ++-- ...xContainerTest_testFlexDistributesWeightUnequally[RTL].png | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/redwood-layout-uiview/src/commonMain/kotlin/app/cash/redwood/layout/uiview/YogaUIView.kt b/redwood-layout-uiview/src/commonMain/kotlin/app/cash/redwood/layout/uiview/YogaUIView.kt index 5336648a9d..ab81529d15 100644 --- a/redwood-layout-uiview/src/commonMain/kotlin/app/cash/redwood/layout/uiview/YogaUIView.kt +++ b/redwood-layout-uiview/src/commonMain/kotlin/app/cash/redwood/layout/uiview/YogaUIView.kt @@ -32,7 +32,7 @@ internal class YogaUIView( init { // TODO: Support scroll indicators. -// scrollEnabled = false + scrollEnabled = false showsVerticalScrollIndicator = false showsHorizontalScrollIndicator = false contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightEqually[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightEqually[LTR].png index 0d67a0086c..ebda8aa974 100644 --- a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightEqually[LTR].png +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightEqually[LTR].png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:84f3b103484288013e8c90fe8b2786adcaf2b020e20a9d4c4c18767c091d655c -size 10311 +oid sha256:bf2c950e21c16f1ba234681f69a7c1f7597d21418efa3669d5f0823c90278f26 +size 10217 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightEqually[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightEqually[RTL].png index 6acaf32f3a..787b543d36 100644 --- a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightEqually[RTL].png +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightEqually[RTL].png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3d6c293f2758b0ef0b29cfa19ec1ca3cdbaabd8bb278df74e6aee774597bd85a -size 10376 +oid sha256:47f6085e608f526972a4686d33190b56cea16883b822403f1ea170c6bef935f8 +size 10291 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightUnequally[LTR].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightUnequally[LTR].png index 281ba38386..51ef899710 100644 --- a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightUnequally[LTR].png +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightUnequally[LTR].png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f7ee0dbd171c831c5d97ab85668a1b058b6105d9563bc4045012ea589acaf7bb -size 10403 +oid sha256:8211254756c6ef0608390d6ef17ff97f6994e17bed7fcbaf9441ed40d917baf1 +size 10318 diff --git a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightUnequally[RTL].png b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightUnequally[RTL].png index 3009a8c10a..57f1416310 100644 --- a/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightUnequally[RTL].png +++ b/redwood-layout-view/src/test/snapshots/images/app.cash.redwood.layout.view_ViewFlexContainerTest_testFlexDistributesWeightUnequally[RTL].png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1baab1f19bc24203320ba291078a1db0d5353962eb9a0afb3a2aaf62bcd5bdf7 -size 10561 +oid sha256:9e5df9553cc1bb3e73a3df3c50cf33e6c98529cab0d1cecb4cad60d681a41da4 +size 10467