Skip to content

Commit

Permalink
fix(legends): make sure to pass the theme object when using canvas le…
Browse files Browse the repository at this point in the history
…gends
  • Loading branch information
plouc committed Dec 21, 2019
1 parent e4a65fc commit ae62116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/bar/src/BarCanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ class BarCanvas extends Component {
containerHeight: height,
itemTextColor: '#999',
symbolSize: 16,
theme,
})
})

Expand Down
1 change: 1 addition & 0 deletions packages/waffle/src/WaffleCanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class WaffleCanvas extends Component {
data: legendData,
containerWidth: width,
containerHeight: height,
theme,
})
})
}
Expand Down

0 comments on commit ae62116

Please sign in to comment.