Changeset 139017 in webkit
- Timestamp:
- Jan 7, 2013, 5:08:12 PM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r139011 r139017 1 2013-01-07 Yusuf Ozuysal <yusufo@google.com> 2 3 Don't use double tap zoom if minimum and maximum page scale is the same 4 https://bugs.webkit.org/show_bug.cgi?id=106272 5 6 Reviewed by James Robinson. 7 8 We should only try to computed relevant scale and scrollOffset and start the animation 9 if the page is zoomable. This now creates an undesired animation for mobile pages which 10 are not zoomable. 11 12 * src/WebViewImpl.cpp: 13 (WebKit::WebViewImpl::handleGestureEvent): 14 1 15 2013-01-07 Tony Chang <tony@chromium.org> 2 16 -
trunk/Source/WebKit/chromium/src/WebViewImpl.cpp
r138859 r139017 776 776 } 777 777 case WebInputEvent::GestureDoubleTap: 778 if (m_webSettings->doubleTapToZoomEnabled() ) {778 if (m_webSettings->doubleTapToZoomEnabled() && m_minimumPageScaleFactor != m_maximumPageScaleFactor) { 779 779 m_client->cancelScheduledContentIntents(); 780 780 animateZoomAroundPoint(WebPoint(event.x, event.y), DoubleTap);
Note:
See TracChangeset
for help on using the changeset viewer.