[Android] Enable filtering onscreen buttons

This commit is contained in:
Sean 2014-07-16 20:29:10 -04:00
parent 51dff5a74e
commit 304d9ccd58
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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);
}