I have a library full of corporate icons. Each icon is in an individual comp (500x500px) that I've animated and added a stroke to (they're mainly shape layers). When I create videos, I drag these icon comps into a 1080 comp and scale them as needed. The problem I'm running into is getting the strokes to scale proportionally.
I've added the following expression to the icons' stroke width, which is linking to the 1080 comp's scale. But if I scale the icon comp below ~90% or larger than ~400% the stroke gets too fat/too thin. Is there a better way to do this?
s = comp("1080 comp").layer("icon precomp").
scaleFactor = 100/s;