Skip to content

Commit

Permalink
fix aspectRatio val
Browse files Browse the repository at this point in the history
  • Loading branch information
mhkeller committed Dec 15, 2021
1 parent a0b495a commit ed7e53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LayerCake.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
const zRange_d = derived([zScale_d], getRange);
const rRange_d = derived([rScale_d], getRange);
const aspectRatio_d = derived([width_d, height_d], ([$aspectRatio, $width, $height]) => {
const aspectRatio_d = derived([width_d, height_d], ([$width, $height]) => {
return $width / $height;
});
Expand Down

0 comments on commit ed7e53b

Please sign in to comment.