Fixed that text selection's handles are not displayed in OSP.
authorYuni Jeong <yhnet.jung@samsung.com>
Wed, 29 Aug 2012 13:42:26 +0000 (22:42 +0900)
committerYuni Jeong <yhnet.jung@samsung.com>
Thu, 30 Aug 2012 02:34:29 +0000 (11:34 +0900)
[Title] Fixed that text selection's handles are not displayed in OSP.
[Issue#] N/A
[Problem] Text selection's handles are not displayed in OSP.
[Cause] Condition for displaying text selection's handle is wrong.
[Solution] Modified condition for dispalying text selection's handle in update()

Change-Id: I2fb8e914a9b4b4e7c9b93cc73f29f48813f598e8

Source/WebKit2/UIProcess/API/efl/editor/TextSelection.cpp

index 0800904..dfcf25e 100755 (executable)
@@ -73,7 +73,7 @@ void TextSelection::update()
             m_page->getTextStyleStateForSelection();
 #endif
         } else {
-            if (editorState.isContentEditable && !m_isTextSelectionHandleDowned) {
+            if (!isTextSelectionDowned() && !m_isTextSelectionHandleDowned) {
                 updateHandlers();
                 showContextMenu();
 #if ENABLE(TIZEN_WEBKIT2_GET_TEXT_STYLE_FOR_SELECTION)