提交 70f48c50 编写于 作者: S sushuang

Merge branch 'next' of https://github.com/100pah/echarts into next

......@@ -21,6 +21,8 @@ var LargeSymbolPath = graphic.extendShape({
var symbolProxy = this.symbolProxy;
var symbolProxyShape = symbolProxy.shape;
var ctx = path.getContext ? path.getContext() : path;
var canBoost = ctx && size[0] < 4;
for (var i = 0; i < points.length;) {
var x = points[i++];
var y = points[i++];
......@@ -33,7 +35,7 @@ var LargeSymbolPath = graphic.extendShape({
size = sizes[i];
}
if (size[0] < 4) {
if (canBoost) {
// Optimize for small symbol
// PENDING, Do fill in buildPath??
ctx.fillRect(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册