mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 22:18:56 +00:00
Mouse wheel handling
This commit is contained in:
parent
5777e9cff3
commit
b605433929
3 changed files with 6 additions and 9 deletions
|
|
@ -26,7 +26,9 @@ namespace MapControl
|
|||
|
||||
protected override void OnMouseWheel(MouseWheelEventArgs e)
|
||||
{
|
||||
OnMouseWheel(e.GetPosition(this), e.Delta);
|
||||
// Standard mouse wheel delta value is 120.
|
||||
//
|
||||
OnMouseWheel(e.GetPosition(this), e.Delta / 120d);
|
||||
|
||||
base.OnMouseWheel(e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue