Skip to content

Commit e0cf831

Browse files
author
Jens Claes
committed
Merge branch 'pr-202' into develop
2 parents 59fb6fa + eb65806 commit e0cf831

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

100644100755
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,13 @@ public boolean onScale(ScaleGestureDetector detector) {
406406
});
407407
}
408408

409+
// fix rotation changes
410+
@Override
411+
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
412+
super.onSizeChanged(w, h, oldw, oldh);
413+
mAreDimensionsInvalid = true;
414+
}
415+
409416
/**
410417
* Initialize time column width. Calculate value with all possible hours (supposed widest text)
411418
*/

0 commit comments

Comments
 (0)