Skip to content

Commit

Permalink
fix: make encoding null override parent encoding (#6763)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed Jul 30, 2020
1 parent dd2858b commit f6c2fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normalize/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ function mergeEncoding({
...channelDef.condition
}
};
} else if (channelDef) {
} else if (channelDef || channelDef === null) {
merged[channel] = channelDef;
} else if (
layer ||
Expand Down

0 comments on commit f6c2fca

Please sign in to comment.