Why this is not working: ```background( brush ...
# compose
m
Why this is not working:
Copy code
background(
    brush = brush
).graphicsLayer(
    shape = shape,
    clip = true
)
It only works when i move the shape to be a background param. Why ? I need a dynamic shape. Graphics Layer better suited
• the clipping isnt happens as is
z
Does it work if you swap the order of those modifiers?
k
You need to be more specific about "not working". At least a screenshot that shows how it looks like (and a description of what you expected).
1
m
the clip doesn’t happen*
i’ll try to swap 1s
interesting. @Zach Klippenstein (he/him) [MOD]thanks! idk how did i not try that
z
Where do you see a screenshot Kirill?
k
That's what I was saying - to show a screenshot with how it looks like when it's "not working"
z
ah yes