From b5083cee41248918617f614cd58857f25c65d8cd Mon Sep 17 00:00:00 2001 From: "jh5.cho" Date: Mon, 10 Oct 2016 14:56:04 +0900 Subject: [PATCH] Fix build break on Net45 Change-Id: I45aaf179cda1042967d396dece7448b6d7fa3f92 --- ElmSharp/ElmSharp/GestureLayer.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 ElmSharp/ElmSharp/GestureLayer.cs diff --git a/ElmSharp/ElmSharp/GestureLayer.cs b/ElmSharp/ElmSharp/GestureLayer.cs old mode 100644 new mode 100755 index 24d3944..6318a46 --- a/ElmSharp/ElmSharp/GestureLayer.cs +++ b/ElmSharp/ElmSharp/GestureLayer.cs @@ -352,20 +352,20 @@ namespace ElmSharp case GestureType.LongTap: case GestureType.DoubleTap: case GestureType.TripleTap: - action(Marshal.PtrToStructure(event_info)); + action(Marshal.PtrToStructure(event_info, typeof(TapData))); break; case GestureType.Momentum: - action(Marshal.PtrToStructure(event_info)); + action(Marshal.PtrToStructure(event_info, typeof(MomentumData))); break; case GestureType.Line: case GestureType.Flick: - action(Marshal.PtrToStructure(event_info)); + action(Marshal.PtrToStructure(event_info, typeof(LineData))); break; case GestureType.Zoom: - action(Marshal.PtrToStructure(event_info)); + action(Marshal.PtrToStructure(event_info, typeof(ZoomData))); break; case GestureType.Rotate: - action(Marshal.PtrToStructure(event_info)); + action(Marshal.PtrToStructure(event_info, typeof(RotateData))); break; } } -- 2.7.4