Skip to content
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...
1 parent 4b0a541 commit 637ac7915b81926605dc34a8914964a4624b99a6 @wesj wesj committed May 24, 2012
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

0 comments on commit 637ac79

Please sign in to comment.
Something went wrong with that request. Please try again.