Skip to content

Commit

Permalink
fix domain sort dropped by initializer (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock authored Oct 9, 2022
1 parent f7aa3b2 commit d4f0a8a
Show file tree
Hide file tree
Showing 4 changed files with 3,205 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/transforms/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export function initializer(options = {}, initializer) {
}
return {
...remainingOptions,
...((s1 === null || isDomainSort(s1)) && {sort: s1}),
initializer: composeInitializer(i1, initializer)
};
}
Expand Down
Loading

0 comments on commit d4f0a8a

Please sign in to comment.