Closed GoogleCodeExporter closed 9 years ago
you are right - when the dayView is initialized it doesn't take the
CalendarSettings.scrollToHour into
account.
i'm not sure we want to call scrollToHour in doLayout. The doLayout method is
called when appointments are
deleted, updated (when drag drop is enabled). This may cause an undesired
behavior - like a user deletes an
appointment at 11pm, and then the calendar scrolls back to 6am.
i'm thinking we call scrollToHour in the attach method. The attach method is
called every time the
calendar.setView(CalendarViews.DAY) method is called. I made the change in r226.
Original comment by Brad.Ryd...@gmail.com
on 29 Dec 2009 at 9:00
Works for me, thanks for the fix.
Original comment by bertrand...@gmail.com
on 4 Jan 2010 at 3:18
Original comment by Brad.Ryd...@gmail.com
on 15 Feb 2010 at 5:03
Original comment by Brad.Ryd...@gmail.com
on 12 May 2010 at 7:10
Original issue reported on code.google.com by
bertrand...@gmail.com
on 28 Dec 2009 at 12:52