r = _UiEventManager::GetInstance()->AddTouchEventListener(*__pEditInternalTouchEventListener);
SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Unable to add internal event listener", GetErrorMessage(r));
- SetTouchPressThreshold(0.16);
__isConstructed = true;
_AccessibilityContainer* pEditAccessibilityContainer = GetAccessibilityContainer();
, __isFontInitialized(false)
, __contentFontSize(0.0f)
, __titleFontSize(0.0f)
- , __defaultTouchMoveThreshold(0.0f)
+ , __defaultTouchMoveThreshold(0.16f)
, __contentFontStyle(FONT_STYLE_PLAIN)
, __contentTextStyle(TEXT_BOX_TEXT_STYLE_NORMAL)
, __titleFontFaceName("")
__initialBounds = __pEdit->GetBoundsF();
- __defaultTouchMoveThreshold = __pEdit->GetTouchPressThreshold();
+ __pEdit->SetTouchPressThreshold(__defaultTouchMoveThreshold);
__pCursorVisualElement = new (std::nothrow) _VisualElement;
SysTryCatch(NID_UI_CTRL, __pCursorVisualElement, , r = E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Unable to create instance");