arshaw/fullcalendar — pull request #132 by javadoug (2013-09-14 17:17:49+00:00)
Title: issue 1996 zooming calendar causes events to miss-align

The window resize handler cannot accurately determine when the calendar has "changed size" by checking its width during a zoom operation because in fact the browser reports the same width +/- 0.999px somewhat randomly (at least chrome and IE8 behave this way). Since the "skipping a fc redraw" optimization didn't really seem to buy anything, I suggest removing it.

If the optimization is important, then consider tracking something that affects the layout of events, perhaps the top offset of the last time-slot.

Aside: the 200 ms wait is probably not necessary either. Consider waiting 1ms, which will allow the browser to finish rendering and not add any additional/unnecessary delay.

RE: https://code.google.com/p/fullcalendar/issues/detail?id=1996