Navigation Menu

Skip to content

Commit

Permalink
Fix logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
bgirard committed Feb 5, 2015
1 parent 7bca540 commit 4cd6e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/layerTreeView.js
Expand Up @@ -383,7 +383,7 @@ function parseLayers(layersDumpLines) {
}
parseProperties(rest, layerObject);

if (layerObject['shadow-transform']) {
if (!layerObject['shadow-transform']) {
// No shadow transform = identify
layerObject['shadow-transform'] = [[1, 0], [0, 1], [0, 0]];
}
Expand Down

0 comments on commit 4cd6e6c

Please sign in to comment.