Is there a modifier to scale a composable? kinda l...
# compose
e
Is there a modifier to scale a composable? kinda like how scalex and scaley work? I need something temporary (for animations)
n
e
Thanks @nickbutcher. I did stumble on that but the naming was a bit confusing. Do you know if multiple drawLayer modifiers are merged?
1
n
@Nader Jawad
e
(just to be clearer, wondering what would happen if I’m passing a
modifier
parameter down to a child composable and modifying
drawLayer
but outside of my control someone (while calling me) is also trying to modify via
drawLayer
)
n
Can you share a snippet of what you're trying to do?
e
drawLayer
already did what I needed 🙏🏼. I was only wondering what would happen in this case 👇🏼
a
we don't perform any sort of modifier fusion today but we may in the future. So far I wouldn't worry about this; if you measure performance issues around it please let us know.
e
Awesome, thanks!