Closed ToastyStoemp closed 1 year ago
This looks really neat - thanks! You mean about the export to Library? I guess it should work in basically the same way...
Perhaps it's better to have a changeLayer
function that outputs the correct code for changing layer depending on if we export to a library or not? Then it can be called at the start or again when the layer changes? Might made code cleaner
Done
I suppose one more nice change would also be using the same grouping of colors for the preview, rather than a unique color for each polygon
Yes, I suppose that could be good - maybe do it only if the LAYER_COLOR option is enabled though? But I'm more than happy to merge this one now - thanks for your help!
Hey thought it'd be useful to add a feature to change layer based on the fill color. Let me know how you want me to implement this for the Library also.