Mouse wheel handling

This commit is contained in:
ClemensFischer 2025-06-12 07:43:55 +02:00
parent 5777e9cff3
commit b605433929
3 changed files with 6 additions and 9 deletions

View file

@ -34,7 +34,9 @@ namespace MapControl
{
var point = e.GetCurrentPoint(this);
OnMouseWheel(point.Position, point.Properties.MouseWheelDelta);
// Standard mouse wheel delta value is 120.
//
OnMouseWheel(point.Position, point.Properties.MouseWheelDelta / 120d);
}
}