Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
wes johnston wesj authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  mobile/android/base/gfx/GeckoLayerClient.java
2  mobile/android/base/gfx/GeckoLayerClient.java
@@ -355,6 +355,8 @@ public void run() {
355 355 mLayerController.setCheckerboardColor(tab.getCheckerboardColor());
356 356 mLayerController.setAllowZoom(tab.getAllowZoom());
357 357 mLayerController.setDefaultZoom(tab.getDefaultZoom());
  358 + mLayerController.setMinZoom(tab.getMinZoom());
  359 + mLayerController.setMaxZoom(tab.getMaxZoom());
358 360
359 361 // At this point, we have just switched to displaying a different document than we
360 362 // 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.