From ef8597fe38f9808096cc2f68921a54a6fc01e3f0 Mon Sep 17 00:00:00 2001 From: Ruben Brunk Date: Wed, 17 Oct 2012 17:54:19 -0700 Subject: [PATCH] Fixed disappearing aspect ratio button. Bug: 7369518 Change-Id: I5342339fa5a6e42d38b1ec7a8e6398bbb6901526 --- src/com/android/gallery3d/filtershow/PanelController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/gallery3d/filtershow/PanelController.java b/src/com/android/gallery3d/filtershow/PanelController.java index a383c536a..2e8dd23ce 100644 --- a/src/com/android/gallery3d/filtershow/PanelController.java +++ b/src/com/android/gallery3d/filtershow/PanelController.java @@ -197,7 +197,6 @@ public class PanelController implements OnClickListener { public void showAspectButtons() { if (mAspectButton != null) mAspectButton.setVisibility(View.VISIBLE); - mCurrentAspectButton = ASPECT_NONE; } public void hideAspectButtons() { @@ -606,6 +605,7 @@ public class PanelController implements OnClickListener { } case R.id.aspect: { mUtilityPanel.nextAspectButton(); + mUtilityPanel.showAspectButtons(); break; } case R.id.applyEffect: { -- 2.11.0