From 304d9ccd58a9465837f479eb4ddf4c07be455274 Mon Sep 17 00:00:00 2001 From: Sean Date: Wed, 16 Jul 2014 20:29:10 -0400 Subject: [PATCH] [Android] Enable filtering onscreen buttons --- .../dolphinemu/dolphinemu/emulation/overlay/InputOverlay.java | 2 +- .../settings/input/overlayconfig/OverlayConfigButton.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/emulation/overlay/InputOverlay.java b/Source/Android/src/org/dolphinemu/dolphinemu/emulation/overlay/InputOverlay.java index 2f2fdb9a53..2a4cb10383 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/emulation/overlay/InputOverlay.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/emulation/overlay/InputOverlay.java @@ -54,7 +54,7 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener Bitmap bitmapResized = Bitmap.createScaledBitmap(bitmap, (int)(dm.heightPixels * scale), (int)(dm.heightPixels * scale), - false); + true); return bitmapResized; } diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/settings/input/overlayconfig/OverlayConfigButton.java b/Source/Android/src/org/dolphinemu/dolphinemu/settings/input/overlayconfig/OverlayConfigButton.java index 65a1ae4df6..5cd82d041d 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/settings/input/overlayconfig/OverlayConfigButton.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/settings/input/overlayconfig/OverlayConfigButton.java @@ -54,7 +54,7 @@ public final class OverlayConfigButton extends Button implements OnTouchListener Bitmap bitmapResized = Bitmap.createScaledBitmap(b, (int)(displayMetrics.heightPixels * scale), (int)(displayMetrics.heightPixels * scale), - false); + true); return new BitmapDrawable(getResources(), bitmapResized); }