Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Supress inertia scrolling optionally
  • Loading branch information
nadyaA committed Sep 29, 2014
1 parent 2e90a47 commit 07b0b418c5f3710af7e780a364e7208efa7b63f8
Showing 1 changed file with 9 additions and 0 deletions.
@@ -153,6 +153,15 @@ private void Border_ManipulationCompleted(object sender, ManipulationCompletedEv
e.Handled = true;
}
}

if (ScrollDisabled)
{
if (e.FinalVelocities.LinearVelocity.X != 0.0 ||
e.FinalVelocities.LinearVelocity.Y != 0.0)
{
e.Handled = true;
}
}
}


0 comments on commit 07b0b41

Please sign in to comment.