Skip to content

Commit

Permalink
fix: fontsize -> fontSize
Browse files Browse the repository at this point in the history
  • Loading branch information
neocarto committed Feb 2, 2022
1 parent 9ae16d4 commit 8e7b842
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ export {match} from "./match.js";
export {merge} from "./merge.js";
export {quickdraw} from "./quickdraw.js";
export {table2geo} from "./table2geo.js";

export {chorotypo} from "./chorotypo.js";
2 changes: 1 addition & 1 deletion src/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export function addtext(selection, width, height, options = {}){
.data(txt)
.join("text")
.attr("x", x + margin_x)
.attr("y", y - margin - delta + margin_y + fontsize)
.attr("y", y - margin - delta + margin_y + fontSize)
.attr("font-size", `${fontSize}px`)
.attr("font-style", fontStyle)
.attr("text-decoration", textDecoration)
Expand Down

0 comments on commit 8e7b842

Please sign in to comment.