]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Only draw points when radius >= 0.1 (#8302)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Wed, 13 Jan 2021 12:44:03 +0000 (14:44 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Jan 2021 12:44:03 +0000 (07:44 -0500)
src/elements/element.point.js

index b43af3cb1277a3dbc72da5892fe2f6f9c4c77710..7f7e75bb050464380a1a0c473bdca403ac634357 100644 (file)
@@ -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;
                }