Kebbin
11/27/2021, 12:49 PMBox(Modifier.zIndex()...
relate to the centre coordinates of that Box.
How do I reference the item's own properties in its own Modifiers??
Thanks! šµDominaezzz
11/27/2021, 12:50 PMKebbin
11/27/2021, 1:11 PMCanvas.center.x
Dominaezzz
11/27/2021, 1:13 PMKebbin
11/27/2021, 1:13 PMDominaezzz
11/27/2021, 1:14 PMKebbin
11/27/2021, 1:14 PMDominaezzz
11/27/2021, 1:15 PMModifier.onGloballyPositioned {}
to get the coordinates after composition has happened.Kebbin
11/27/2021, 1:15 PMDominaezzz
11/27/2021, 1:16 PMSo how would I use that value in another Modifier, like the .zIndex?Save the value and read it later?
Kebbin
11/27/2021, 1:17 PMDominaezzz
11/27/2021, 1:17 PMKebbin
11/27/2021, 1:18 PMLayoutCoordinates
so I think that might be what I was looking for too? I can reference that directly in the .zIndex.