Brian G
06/25/2021, 8:36 PMBox(Modifier.offset(x=x, y=y)) { Content() }
but update x and y very frequently, while the contents of the box never changes. Right now I see the content get recomposed often, any way to avoid that? Is that in "future optimization" territory?Alexandre Elias [G]
06/25/2021, 8:44 PMBox(Modifier.offset { IntOffset(x, y) })
exists specifically to avoid unnecessary recompositionsBrian G
06/25/2021, 8:53 PM