add three dots below the monthly view events, if theres some hidden ones

This commit is contained in:
tibbi 2018-03-25 22:49:18 +02:00
parent 369317e2e6
commit 0ad79384aa
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ class MonthView(context: Context, attrs: AttributeSet, defStyle: Int) : View(con
day.dayEvents.forEach {
if (shownDayEvents >= maxEventsPerDay) {
canvas.drawText("...", xPosCenter, yPos + paint.textSize * 2 + maxEventsPerDay * eventTitleHeight, getTextPaint(day))
return@forEach
}