Skip to content

Commit

Permalink
Fixed #22169
Browse files Browse the repository at this point in the history
  • Loading branch information
kubaflo committed May 12, 2024
1 parent 39f90ee commit 7cc03f6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,9 @@ bool shouldReceive(UIGestureRecognizer g, UITouch t)
if (_applyShadow)
{
var openProgress = targetFrame.X / flyoutWidth;
var openProgress = !IsRTL
? (targetFrame.X + flyoutWidth) / flyoutWidth
: ((float)Element.Bounds.Width - targetFrame.X) / flyoutWidth;
ApplyDetailShadow((nfloat)openProgress);
}
Expand Down

0 comments on commit 7cc03f6

Please sign in to comment.