daily calendar works
This commit is contained in:
@ -41,7 +41,6 @@ class Schedule {
|
||||
var hours = parseInt(timeArray[0]);
|
||||
var minutes = parseInt(timeArray[1]);
|
||||
var pixels = parseInt((hours + (minutes / 60)) * hourHeight);
|
||||
console.log("convert " + time + " to " + pixels);
|
||||
return pixels;
|
||||
}
|
||||
|
||||
@ -57,7 +56,6 @@ class Schedule {
|
||||
var w = dayWidth;
|
||||
var h = parseInt(this.time2pixel(until, hourHeight) - y);
|
||||
ctx.beginPath();
|
||||
console.log("draw " + x + "," + y + " -> +" + w + "," + h);
|
||||
ctx.fillRect(x, y, w, h);
|
||||
ctx.strokeRect(x, y, w, h);
|
||||
}
|
||||
|
Reference in New Issue
Block a user