Chris Fillmore
05/17/2022, 5:21 PMChris Fillmore
05/17/2022, 5:22 PMChris Fillmore
05/17/2022, 5:25 PMChris Fillmore
05/17/2022, 5:26 PMChris Fillmore
05/17/2022, 6:27 PMChris Fillmore
05/17/2022, 6:30 PMgraphicsLayer
blocks, like this
Modifier
.graphicsLayer {
// apply translation here
}
.pointerInput(...)
.graphicsLayer {
// apply rotation here
}
Without separate blocks, the pointer input doesn’t translate.
It may be worth pointing that out in the docs?Albert Chang
05/18/2022, 4:25 AM