DALi Version 1.4.26
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / src / signals / dali-any-javascript-converter.cpp
index 883fcbe..b675779 100644 (file)
@@ -66,17 +66,17 @@ v8::Local<v8::Value> DaliAnyConverter::ConvertToJavaScriptObject(v8::Isolate* is
   {
     returnValue = PropertyValueWrapper::WrapDaliProperty( isolate, value.Get<Vector3>() );
   }
-  else if(  typeInfo == typeid( Dali::TouchEvent ) )
+  else if(  typeInfo == typeid( Dali::TouchData ) )
   {
-    returnValue = EventObjectGenerator::CreateTouchEvent( isolate, value.Get<TouchEvent>() );
+    returnValue = EventObjectGenerator::CreateTouchData( isolate, value.Get<TouchData>() );
   }
   else if(  typeInfo == typeid( Dali::HoverEvent ) )
   {
     returnValue = EventObjectGenerator::CreateHoverEvent( isolate, value.Get<HoverEvent>() );
   }
-  else if(  typeInfo == typeid( Dali::MouseWheelEvent ) )
+  else if(  typeInfo == typeid( Dali::WheelEvent ) )
   {
-    returnValue = EventObjectGenerator::CreateMouseWheelEvent( isolate, value.Get<MouseWheelEvent>() );
+    returnValue = EventObjectGenerator::CreateWheelEvent( isolate, value.Get<WheelEvent>() );
   }
   else if(  typeInfo == typeid( Dali::KeyEvent ) )
   {