better grid rendering: avoid thicker lines for adjacent cells

expand each day cell size to overlap the bottom and right borders
with the top and left borders of the next cells
This commit is contained in:
fab 2024-05-19 14:06:55 +02:00
parent e500c3d3ac
commit 4f08088ee1

View File

@ -555,8 +555,8 @@ impl<'a> CalendarView<'a> {
let day_bounds = Rectangle {
x: cell.x,
y: cell.y,
width: cell.width,
height: cell.height,
width: cell.width + 1.0,
height: cell.height + 1.0,
};
// update bounds for the rectangle with the actual days