summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b3480ea)
[Title] Check double tap when minimum scale is changed in the didChangeContentsSize().
[Issue#] N_SE-49523
[Problem] The tap is not recognized in the WebApp when we do tap twice quickly.
[Cause] The two taps should be recognized correctly, but they are recognized as double tap
when Web App does not set the user-scalable to 0 and minimum scale is not defined in the viewport meta tag.
It is because the minimumScale value is calculated wrong only in the WVGA in this case.
[Solution] Check double tap when minimum scale is changed in the didChangeContentsSize().
Change-Id: If3a7891b2dc5b48aea982d0de837bdc8fb9254f0
&& fabs(m_viewportConstraints.initialScale - m_viewportConstraints.minimumScale) < numeric_limits<float>::epsilon())
m_viewportConstraints.initialScale = minimumScale;
m_viewportConstraints.minimumScale = minimumScale;
&& fabs(m_viewportConstraints.initialScale - m_viewportConstraints.minimumScale) < numeric_limits<float>::epsilon())
m_viewportConstraints.initialScale = minimumScale;
m_viewportConstraints.minimumScale = minimumScale;
+#if ENABLE(TIZEN_GESTURE)
+ m_viewImpl->setDoubleTapEnabled(userScalable());
+#endif
}
#else
m_viewImpl->informContentsSizeChange(size);
}
#else
m_viewImpl->informContentsSizeChange(size);