Skip to content

Commit

Permalink
fix: square shape drawing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Sep 29, 2020
1 parent 2a79d23 commit ea3cd68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/charting/renderer/scatter/SquareShapeRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ export class SquareShapeRenderer implements IShapeRenderer {
const shapeStrokeSizeHalf = shapeStrokeSize / 2;

const shapeHoleColor = dataSet.getScatterShapeHoleColor();

if (shapeSize > 0.0) {
if (shapeHoleSize > 0.0) {
renderPaint.setStyle(Style.STROKE);
renderPaint.setStrokeWidth(shapeStrokeSize);

Expand Down

0 comments on commit ea3cd68

Please sign in to comment.