Bugfix: Corrected clipRect on the proper rect variable
This commit is contained in:
parent
fb8094e9f2
commit
49b4d1a96b
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ public class YAxisRenderer extends AxisRenderer {
|
|||
int clipRestoreCount = c.save();
|
||||
mZeroLineClippingRect.set(mViewPortHandler.getContentRect());
|
||||
mZeroLineClippingRect.inset(0.f, -mYAxis.getZeroLineWidth() / 2.f);
|
||||
c.clipRect(mLimitLineClippingRect);
|
||||
c.clipRect(mZeroLineClippingRect);
|
||||
|
||||
// draw zero line
|
||||
MPPointD pos = mTrans.getPixelForValues(0f, 0f);
|
||||
|
|
Loading…
Add table
Reference in a new issue