Fix wrong parameter order in WheelEvent 51/226751/1
authorDongsug Song <dongsug.song@samsung.com>
Thu, 5 Mar 2020 06:21:24 +0000 (15:21 +0900)
committerDongsug Song <dongsug.song@samsung.com>
Thu, 5 Mar 2020 06:21:24 +0000 (15:21 +0900)
Change-Id: I207779a48168c96cb5af1131e5d0c1045a826ef8

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

index 2e68a93..89fae58 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 );
 }