Skip to content

Commit

Permalink
Fixed the bug described on issue PhilJay#4334 in the original project
Browse files Browse the repository at this point in the history
Made the change suggested by @a-bresler
  • Loading branch information
mstniy committed Apr 4, 2020
1 parent f7509d5 commit 7341cd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion MPChartLib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'

group='com.github.philjay'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public static AnimatedZoomJob getInstance(ViewPortHandler viewPortHandler, View
result.xAxisRange = xAxisRange;
result.resetAnimator();
result.animator.setDuration(duration);
result.zoomCenterX = zoomCenterX;
result.zoomCenterY = zoomCenterY;
result.zoomOriginX = zoomOriginX;
result.zoomOriginY = zoomOriginY;
return result;
}

Expand Down

0 comments on commit 7341cd8

Please sign in to comment.