Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
Remove unneeded postTranslate change. Fixes #8.
Browse files Browse the repository at this point in the history
  • Loading branch information
vinc3m1 committed Jun 15, 2015
1 parent e7c57a4 commit 69c285e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {

allprojects {
group 'com.makeramen'
version '2.1.0'
version '2.1.1'
repositories {
mavenCentral()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ private void updateShaderMatrix() {
}

mShaderMatrix.setScale(scale, scale);
mShaderMatrix.postTranslate((int) (dx + 0.5f) + mBorderWidth,
(int) (dy + 0.5f) + mBorderWidth);
mShaderMatrix.postTranslate((int) (dx + 0.5f), (int) (dy + 0.5f));
break;

case CENTER_INSIDE:
Expand Down

0 comments on commit 69c285e

Please sign in to comment.