提交 af012c8b 编写于 作者: L lang

Scatter emphasis style bug fix

上级 3e6096c7
......@@ -190,14 +190,15 @@ define(function (require) {
hoverStyle.text = '';
}
graphic.setHoverStyle(symbolPath, hoverStyle);
var size = normalizeSymbolSize(data.getItemVisual(idx, 'symbolSize'));
symbolPath.off('mouseover')
.off('mouseout')
.off('emphasis')
.off('normal');
graphic.setHoverStyle(symbolPath, hoverStyle);
if (itemModel.getShallow('hoverAnimation')) {
var onEmphasis = function() {
var ratio = size[1] / size[0];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册