Skip to content

Commit

Permalink
missing semi
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed Jul 9, 2021
1 parent 9ee22b7 commit ab2d8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.layouts.js
Expand Up @@ -223,7 +223,7 @@ function placeBoxes(boxes, chartArea, params, stacks) {
for (const layout of boxes) {
const box = layout.box;
const stack = stacks[layout.stack] || {count: 1, placed: 0, weight: 1};
const weight = (stack.weight * layout.stackWeight) || 1
const weight = (stack.weight * layout.stackWeight) || 1;
if (layout.horizontal) {
const width = chartArea.w / weight;
const height = stack.size || box.height;
Expand Down

0 comments on commit ab2d8d2

Please sign in to comment.