mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
add three dots below the monthly view events, if theres some hidden ones
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user