Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 5a71a6678d9d86cc1f8231ffd589c3069c1c2abc
Author: Andrey Kulikov <andreykulikov@google.com>
Date: Thu Oct 22 19:52:27 2020
Sum zIndex values when multiple Modifier.zIndex() applied
Previously the first(the left) one was winning which proved to be confusing.
Relnote: Sum zIndex values when multiple Modifier.zIndex() applied. Previously the first one was winning.
Fixes: 170623936
Test: DrawReorderingTest
Change-Id: Ic514c8e7640a09fa3f0e224b23bb06bc7868f848
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/draw/DrawReorderingTest.kt
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/ZIndexModifier.kt
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/node/LayoutNode.kt
https://android-review.googlesource.com/1470852
Branch: androidx-master-dev
commit 5a71a6678d9d86cc1f8231ffd589c3069c1c2abc
Author: Andrey Kulikov <andreykulikov@google.com>
Date: Thu Oct 22 19:52:27 2020
Sum zIndex values when multiple Modifier.zIndex() applied
Previously the first(the left) one was winning which proved to be confusing.
Relnote: Sum zIndex values when multiple Modifier.zIndex() applied. Previously the first one was winning.
Fixes: 170623936
Test: DrawReorderingTest
Change-Id: Ic514c8e7640a09fa3f0e224b23bb06bc7868f848
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/draw/DrawReorderingTest.kt
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/ZIndexModifier.kt
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/node/LayoutNode.kt
Description