X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fdecorator%2Ftext-decorator.cpp;h=09d29d5a16b07a873dcd4bae112c502752327917;hb=746ebfed348c504b732dcb3f55c92a39b5643414;hp=7016759914a5b762a63049069031db6c77fc1268;hpb=aa9863fcaaf25beecb077ab63dfd2136aa20d755;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/decorator/text-decorator.cpp b/dali-toolkit/internal/text/decorator/text-decorator.cpp index 7016759..09d29d5 100644 --- a/dali-toolkit/internal/text/decorator/text-decorator.cpp +++ b/dali-toolkit/internal/text/decorator/text-decorator.cpp @@ -1389,7 +1389,8 @@ struct Decorator::Impl : public ConnectionTracker SetHandleImage( GRAB_HANDLE ); } - return false; + // Consume to avoid pop-ups accidentally closing, when handle is outside of pop-up area + return true; } bool OnHandleOneTouched( Actor actor, const TouchEvent& touch ) @@ -1419,7 +1420,8 @@ struct Decorator::Impl : public ConnectionTracker SetHandleImage( LEFT_SELECTION_HANDLE ); } - return false; + // Consume to avoid pop-ups accidentally closing, when handle is outside of pop-up area + return true; } bool OnHandleTwoTouched( Actor actor, const TouchEvent& touch ) @@ -1449,7 +1451,8 @@ struct Decorator::Impl : public ConnectionTracker SetHandleImage( RIGHT_SELECTION_HANDLE ); } - return false; + // Consume to avoid pop-ups accidentally closing, when handle is outside of pop-up area + return true; } void HandleResetPosition( PropertyNotification& source )