コード例 #1
0
        private async Task Pan(MouseEventArgs e, Common.Direction direction)
        {
            switch (e.Type)
            {
            case "mousedown":
                await CameraService.Pan(1, direction);

                break;

            default:
                await CameraService.Pan(1, Common.Direction.Stop);

                break;
            }
        }