Skip to content

Commit

Permalink
Merge pull request #1421 from ichan-mb/enhance_nav
Browse files Browse the repository at this point in the history
Tweak swipe edge navigation
  • Loading branch information
mortend authored Jun 7, 2021
2 parents b657d65 + 9900ba0 commit c32109d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Fuse.Controls.Navigation/NavigatorSwipe.uno
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,19 @@ namespace Fuse.Controls
break;
case NavigatorSwipeDirection.LeftEdge:
_swipeGesture.Edge = Fuse.Gestures.Edge.Left;
_swipeGesture.HitSize = 10;
break;
case NavigatorSwipeDirection.RightEdge:
_swipeGesture.Edge = Fuse.Gestures.Edge.Right;
_swipeGesture.HitSize = 10;
break;
case NavigatorSwipeDirection.Top:
_swipeGesture.Edge = Fuse.Gestures.Edge.Top;
_swipeGesture.HitSize = 10;
break;
case NavigatorSwipeDirection.Bottom:
_swipeGesture.Edge = Fuse.Gestures.Edge.Bottom;
_swipeGesture.HitSize = 10;
break;
}
}
Expand Down

0 comments on commit c32109d

Please sign in to comment.