Skip to content

Commit

Permalink
Merge pull request #435 from SaikoRobot/fix-simple-sample-crash
Browse files Browse the repository at this point in the history
Fix Simple Sample / Capture Display Matrix Crash
  • Loading branch information
Jawnnypoo authored Oct 26, 2016
2 parents 9354b92 + 93273f5 commit 994995a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 994995a

Please sign in to comment.