From: Jukka Kurkela Date: Wed, 13 Jan 2021 12:44:03 +0000 (+0200) Subject: Only draw points when radius >= 0.1 (#8302) X-Git-Tag: v3.0.0-beta.8~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dc238479615ad0392b728ec9c0da449446e55e5;p=thirdparty%2FChart.js.git Only draw points when radius >= 0.1 (#8302) --- diff --git a/src/elements/element.point.js b/src/elements/element.point.js index b43af3cb1..7f7e75bb0 100644 --- a/src/elements/element.point.js +++ b/src/elements/element.point.js @@ -50,7 +50,7 @@ export default class PointElement extends Element { const me = this; const options = me.options; - if (me.skip || options.radius <= 0) { + if (me.skip || options.radius < 0.1) { return; }