Skip to content

Commit

Permalink
fix(axis): use titleFontSize for debug rect for horizontal axis title (
Browse files Browse the repository at this point in the history
…#17)

fixes #11
  • Loading branch information
emmacunningham authored Feb 1, 2019
1 parent 42585f7 commit af4aa58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/react_canvas/axis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export class Axis extends React.PureComponent<AxisProps> {
x={left}
y={top}
width={width}
height={maxLabelBboxHeight}
height={titleFontSize}
stroke="black"
strokeWidth={1}
fill="violet"
Expand Down

0 comments on commit af4aa58

Please sign in to comment.