diff --git a/sample/src/main/java/uk/co/senab/photoview/sample/SimpleSampleActivity.java b/sample/src/main/java/uk/co/senab/photoview/sample/SimpleSampleActivity.java index a3f095ef..7c4f0637 100755 --- a/sample/src/main/java/uk/co/senab/photoview/sample/SimpleSampleActivity.java +++ b/sample/src/main/java/uk/co/senab/photoview/sample/SimpleSampleActivity.java @@ -154,6 +154,7 @@ public boolean onOptionsItemSelected(MenuItem item) { mAttacher.setDisplayMatrix(mCurrentDisplayMatrix); return true; case R.id.menu_matrix_capture: + mCurrentDisplayMatrix = new Matrix(); mAttacher.getDisplayMatrix(mCurrentDisplayMatrix); return true; case R.id.extract_visible_bitmap: