提交 6dcfda7a 编写于 作者: P pah100

fix position set not trigger dirty

上级 9c3b07b8
......@@ -11,7 +11,6 @@ define(function (require) {
var sliderMove = require('../helper/sliderMove');
var asc = numberUtil.asc;
var bind = zrUtil.bind;
var mathRound = Math.round;
var mathMax = Math.max;
var each = zrUtil.each;
......@@ -235,8 +234,7 @@ define(function (require) {
// Position barGroup
var rect = thisGroup.getBoundingRect([barGroup]);
thisGroup.position[0] = location.x - rect.x;
thisGroup.position[1] = location.y - rect.y;
thisGroup.attr('position', [location.x - rect.x, location.y - rect.y]);
},
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册