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

Commit 5fc7aeee authored by Gitsaibot's avatar Gitsaibot Committed by Gitsaibot
Browse files

Revert "Fix for the border issue with overlapping events"

This reverts commit fb6d8a1a.
parent 19701ae3
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@ public class EventGeometry {
        }

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

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


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