Comparing version 2.0.0-beta.29 to 2.0.0-beta.30
{ | ||
"name": "@antv/g", | ||
"version": "2.0.0-beta.29", | ||
"version": "2.0.0-beta.30", | ||
"description": "A canvas library which providing 2d draw for G2.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -87,3 +87,3 @@ const Util = require('../util/index'); | ||
const r = Math.sqrt(width * width + height * height) / 2; | ||
const gradient = context.createRadialGradient(box.minX + width * fx, box.minY + height * fy, fr, box.minX + width / 2, box.minY + height / 2, r); | ||
const gradient = context.createRadialGradient(box.minX + width * fx, box.minY + height * fy, fr * r, box.minX + width / 2, box.minY + height / 2, r); | ||
addStop(steps, gradient); | ||
@@ -90,0 +90,0 @@ return gradient; |
Sorry, the diff of this file is too big to display
812472