Skip to content

Commit a389048

Browse files
author
Jesse Hoobergs
committed
Fix for not showing Allday events on days that are drawn first
1 parent c26f142 commit a389048

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

library/src/main/java/com/alamkanak/weekview/WeekView.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -545,10 +545,7 @@ private void drawHeaderRowAndEvents(Canvas canvas) {
545545
}
546546
if(newHeaderHeight!=mHeaderHeight){
547547
mHeaderHeight = newHeaderHeight;
548-
invalidate();
549-
}
550-
else{
551-
mHeaderHeight = newHeaderHeight;
548+
postInvalidate();
552549
}
553550

554551
Calendar today = today();

0 commit comments

Comments
 (0)