Skip to content

Commit

Permalink
Bugfix: shadow doesn't appear when dragging the content view the firs…
Browse files Browse the repository at this point in the history
…t time
  • Loading branch information
chr1gu committed Jan 27, 2014
1 parent ed969b7 commit b02a9a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FlyoutNavigation/FlyoutNavigationController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ public void DragContentView(UIPanGestureRecognizer panGesture)
View.InsertSubviewBelow(shadowView, mainView);
navigation.View.Hidden = false;
RectangleF frame = mainView.Frame;
shadowView.Frame = frame;
float translation = panGesture.TranslationInView(View).X;
if (panGesture.State == UIGestureRecognizerState.Began)
{
Expand Down

0 comments on commit b02a9a6

Please sign in to comment.