-
One expression 2 sliders
Hi!
I’m currently working on an animation where i have to play with a text leading and size.
I’ver set the expressions
newStyle = style.setFontSize(effect(“Size”)(“Slider”));
newStyle = style.setLeading(effect(“Leading”)(“Slider”));
But when I connect them to the slider only one of the two works. Almost like it goes in conflict. Is there maybe a way to calculate and retain the leading/size ratio and attaching it to one slider only so it feels consistent all the way?
Here’s attached an image for reference https://imgur.com/a/aWAPYPm
Thanks!!