Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 757893 - Reset max and min zoom when switching tabs. r=kats a=mfi…

…nkle

--HG--
branch : MOBILE140_2012052310_RELBRANCH
  • Loading branch information...
commit 637ac7915b81926605dc34a8914964a4624b99a6 1 parent 4b0a541
@wesj wesj authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  mobile/android/base/gfx/GeckoLayerClient.java
View
2  mobile/android/base/gfx/GeckoLayerClient.java
@@ -355,6 +355,8 @@ public void run() {
mLayerController.setCheckerboardColor(tab.getCheckerboardColor());
mLayerController.setAllowZoom(tab.getAllowZoom());
mLayerController.setDefaultZoom(tab.getDefaultZoom());
+ mLayerController.setMinZoom(tab.getMinZoom());
+ mLayerController.setMaxZoom(tab.getMaxZoom());
// At this point, we have just switched to displaying a different document than we
// we previously displaying. This means we need to abort any panning/zooming animations
Please sign in to comment.
Something went wrong with that request. Please try again.