Skip to content

Commit

Permalink
Merge pull request #991 from Dygmalab/fixLayerNamesImport
Browse files Browse the repository at this point in the history
fix: layer names no longer applied to all layers
  • Loading branch information
alexpargon authored Jan 30, 2025
2 parents 29f170c + 25d2311 commit 97455b9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/renderer/views/LayoutEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1205,9 +1205,6 @@ const LayoutEditor = (props: LayoutEditorProps) => {
// if (data.palette.length > 0) state.palette = data.palette;
const lNames = layerNames.slice();
if (data.layerNames !== null) {
for (let i = 0; i < data.layerNames.length; i += 1) {
lNames[i] = data.layerNames[i];
}
if (data.layerName && currentLayer) {
lNames[currentLayer] = { name: data.layerName, id: currentLayer };
}
Expand Down

0 comments on commit 97455b9

Please sign in to comment.