Skip to content

Commit

Permalink
Round to the right slot if event starts or stop outside slot times.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarno Kurlin authored and Jarno Kurlin committed May 17, 2012
1 parent 14d5c50 commit a743ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resource/ResourceView.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function ResourceView(element, calendar, viewName) {


function renderCellOverlay(row0, col0, row1, col1) { // row1,col1 is inclusive
var rect = coordinateGrid.rect(row0, col0, row1, col1, element);
var rect = coordinateGrid.rect(row0, Math.round(col0), row1, Math.round(col1), element);
return renderOverlay(rect, element);
}

Expand Down

0 comments on commit a743ab6

Please sign in to comment.