Skip to content

Commit 6d520fb

Browse files
committed
rebases to complete PR
1 parent 409bfce commit 6d520fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ export default class Gantt {
415415
this.config.header_height +
416416
this.options.padding +
417417
(this.options.bar_height + this.options.padding) *
418-
this.groups.length;
418+
this.groups.length,
419419
10,
420420
this.options.container_height !== 'auto'
421421
? this.options.container_height
@@ -446,12 +446,12 @@ export default class Gantt {
446446
const row_width = this.dates.length * this.config.column_width;
447447
const row_height = this.options.bar_height + this.options.padding;
448448

449-
let row_y = this.options.header_height;
449+
let row_y = this.config.header_height;
450450

451451
for (let _ of this.groups) {
452452
createSVG('rect', {
453453
x: 0,
454-
y,
454+
y : row_y,
455455
width: row_width,
456456
height: row_height,
457457
class: 'grid-row',

0 commit comments

Comments
 (0)