Skip to content

Commit

Permalink
fix Ignore hidden layers
Browse files Browse the repository at this point in the history
  • Loading branch information
pchiorean committed Sep 21, 2021
1 parent 6dfd0ae commit c171770
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion export/PrepareForExport.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Prepare for export v2.2.1 (2021-09-12)
Prepare for export v2.2.2 (2021-09-21)
(c) 2020-2021 Paul Chiorean (jpeg@basement.ro)
Hides some layers and moves items with special colors to separate spreads.
Expand Down Expand Up @@ -58,6 +58,7 @@ function prepareForExport() {
// Match special layers
for (i = 0, n = doc.layers.length; i < n; i++) {
l = doc.layers[i];
if (!l.visible) continue;
if (l.name === infoLayer.name) continue;
for (variants in layerNames) {
if (isIn(l.name, layerNames[variants], false)) {
Expand Down

0 comments on commit c171770

Please sign in to comment.