Skip to content

Commit

Permalink
missing semi
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed Jul 10, 2021
1 parent d24c0d6 commit e31272b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.layouts.js
Original file line number Diff line number Diff line change
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 e31272b

Please sign in to comment.