Speeding up the UI by changing the flip view orientation at correct moment.
This commit is contained in:
@@ -71,6 +71,8 @@ namespace Wino.Calendar.Controls
|
||||
bool isToday = DayModel.RepresentingDate.Date == DateTime.Now.Date;
|
||||
|
||||
VisualStateManager.GoToState(this, isToday ? TodayState : NotTodayState, false);
|
||||
|
||||
UpdateLayout();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user