Mathieu Dutour

Results 272 comments of Mathieu Dutour

It's actually not that simple: `injectSymbols` reset the Symbols page and render all the symbols that we found. So if we use `allSymbols`, it will bring the symbols from other...

oh interesting. That's actually pretty hard to fix

Yeah but when you have just a top border, the path is super weird

Thinking a bit about it, I think we want a top-level method `flatten` similar to `export`. It would take either a single layer or an array of layers and return...

Indeed you are right. I'm wondering if we could return it in a callback or something. Will have to look at the code

Indeed. The tricky part is when using shared text styles I think

That's a good point (and there is clearly an inconsistency that should be fixed) but ultimately, I don't know what the solution is. On one hand I'm all for reproducibility...

We would need to define what a blank text style means (eg. what font, size, etc.) and every time properties change, we need to update it.

I'm tempted to sit on this issue for a bit. That would be a breaking change and there are some important changes coming styles so let's reduce the churn to...

Thanks for the docs! I'm not sure about the "clone everything" approach tho