Pattern-Projector / pattern-projector

https://www.patternprojector.com/
MIT License
87 stars 18 forks source link

Layer toggling - layers in layer group don't show #50

Open roel-v opened 8 months ago

roel-v commented 8 months ago

I'm using a PDF with layers that I found online as I don't have any sewing patterns with layers at hand: https://www.edcfiresafe.org/wp-content/uploads/2015/12/Using-Layerd-PDFs-with-Sample-Map.pdf

This PDF has its layers structured in what I'll call 'layer groups' (don't know the term in PDF parlance). All the layers show up in the PP layer list (including the 'nested' ones inside groups). But when I toggle those, they don't show. The only layer that does show/hide correctly is the one that is not inside a group, hence my hunch it has something to do with that, but I can't say for sure.

roel-v commented 8 months ago

This was tested on https://pattern-projector-git-layers-courtney-pattisons-projects.vercel.app/en/calibrate as of 10 mins ago BTW. Don't think I can see a git commit hash on that page?

courtneypattison commented 8 months ago

Yeah, I’m not sure about checking the version on the preview. I’ll try to fix the nested layers before deploying.

EDIT: I haven't seen a sewing pattern with grouped layers so I don't think there's a rush on this one. I just really wanted to get layers out there!

courtneypattison commented 4 months ago

Someone did report this issue a week or two ago. I think it was a love notions pattern.