Fix wrong parameter order in WheelEvent 99/226899/1
authorDongsug Song <dongsug.song@samsung.com>
Thu, 5 Mar 2020 06:21:24 +0000 (15:21 +0900)
committerDongsug Song <dongsug.song@samsung.com>
Fri, 6 Mar 2020 07:13:20 +0000 (16:13 +0900)
Change-Id: I207779a48168c96cb5af1131e5d0c1045a826ef8

dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp

index 2e68a93a9e72336841dd1d6a45676e18bdcbcb4d..89fae585f302ac23bf40f4d7274ece86d3470b36 100755 (executable)
@@ -1098,7 +1098,7 @@ void WindowBaseEcoreWl2::OnDetentRotation( void* data, int type, void* event )
   int direction = ( detentEvent->direction == ECORE_DETENT_DIRECTION_CLOCKWISE ) ? 1 : -1;
   int timeStamp = detentEvent->timestamp;
 
-  WheelEvent wheelEvent( WheelEvent::CUSTOM_WHEEL, 0, 0, Vector2( 0.0f, 0.0f ), direction, timeStamp );
+  WheelEvent wheelEvent( WheelEvent::CUSTOM_WHEEL, direction, 0, Vector2( 0.0f, 0.0f ), 0, timeStamp );
 
   mWheelEventSignal.Emit( wheelEvent );
 }