Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb6d8a1a authored by Gitsaibot's avatar Gitsaibot Committed by Gitsaibot
Browse files

Fix for the border issue with overlapping events

parent 3ee5355c
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -79,7 +79,6 @@ public class EventGeometry {
        }

        int col = event.getColumn();
        int maxCols = event.getMaxColumns();
        int startHour = startTime / 60;
        int endHour = endTime / 60;

@@ -102,10 +101,8 @@ public class EventGeometry {
            event.bottom = event.top + mMinEventHeight;
        }


        float colWidth = (float) (cellWidth - (maxCols) * mCellMargin) - (float) (col * mPerColMargin);
        event.left = left + (col) * mPerColMargin;
        event.right = event.left + colWidth;
        event.right = left + cellWidth - mCellMargin;
        return true;
    }