|
@@ -406,10 +406,13 @@ GanttChartMonth.prototype.postDrawTasksCallBack = function(){
|
|
|
if(true){
|
|
|
let todayAt = new Date()
|
|
|
if(this.startAt < todayAt && this.endAt > todayAt){
|
|
|
+ let duraStartAt = new Date() - new Date(this.startAt.format('YYYY-MM-DD'));
|
|
|
+ let secondsStartAt = duraStartAt/1000
|
|
|
+ this.todayTimeLineOffsetPos = secondsStartAt*this.timePerPix
|
|
|
this.todayTimeLineEl = this.gCanvas.addShape('rect',{
|
|
|
attrs: {
|
|
|
x: this.todayTimeLineOffsetPos,
|
|
|
- y: 40,
|
|
|
+ y: 50,
|
|
|
width: 4,
|
|
|
height: this.cHeight,
|
|
|
fill: '#CDE9FF',
|