Skip to content

Commit

Permalink
Fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaVerou committed Apr 22, 2023
1 parent dd129cd commit 4f28418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/space.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class ColorSpace {
let coords = options.coords ?? this.base.coords;

for (let name in coords) {
if (!(name in coords[name])) {
if (!("name" in coords[name])) {
coords[name].name = name;
}
}
Expand Down

0 comments on commit 4f28418

Please sign in to comment.