private void AnimPreviewDisplay_OnWheel(MouseWheelActionInfo mouseWheelActionInfo) { Camera.Zoom = MathHelper.CalculateCameraZoom(Camera, mouseWheelActionInfo.WheelDelta); }
private void MainDisplay_OnWheel(MouseWheelActionInfo mouseWheelActionInfo) { Camera.ZoomToWorldPoint(WorldMousePosition.X, WorldMousePosition.Y, MathHelper.CalculateCameraZoomFactor(Camera, mouseWheelActionInfo.WheelDelta)); }
private void AnimConfigDisplay_OnWheel(MouseWheelActionInfo mouseWheelActionInfo) { MoveCamera(AnimFrameSize.Width * mouseWheelActionInfo.WheelDelta); }