X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fevents%2Fevent-processor.cpp;h=06250bafc4b47afaeebe7fde90adc3c0e0539a9a;hb=96153ae2f46221804347b661359494b8064d8efc;hp=fed209a6769d92156153c6c90e1ebcbdfd0a08c1;hpb=86f436c2067f87ee0b2d2d922a1429723d4511ac;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/events/event-processor.cpp b/dali/internal/event/events/event-processor.cpp index fed209a..06250ba 100644 --- a/dali/internal/event/events/event-processor.cpp +++ b/dali/internal/event/events/event-processor.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -152,18 +152,8 @@ void EventProcessor::ProcessEvents() { case Event::Touch: { - Integration::TouchEvent& touchEvent = static_cast(*event); - const bool consumed = mTouchEventProcessor.ProcessTouchEvent( touchEvent ); - - // If touch is consumed, then gestures should be cancelled - // Do this by sending an interrupted event to the GestureEventProcessor - if( consumed ) - { - Integration::Point& point = touchEvent.GetPoint(0); - point.SetState( PointState::INTERRUPTED ); - } - - mGestureEventProcessor.ProcessTouchEvent(mScene, touchEvent); + mTouchEventProcessor.ProcessTouchEvent( static_cast(*event) ); + mGestureEventProcessor.ProcessTouchEvent(mScene, static_cast(*event)); break; }