You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2019/05/30 07:07:15 UTC

[incubator-echarts] branch fix-10570 created (now 8a8b64b)

This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch fix-10570
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


      at 8a8b64b  fix: update pointer when type is none, #fix 10570

This branch includes the following new commits:

     new 8a8b64b  fix: update pointer when type is none, #fix 10570

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[incubator-echarts] 01/01: fix: update pointer when type is none, #fix 10570

Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch fix-10570
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 8a8b64b64a12a3b942c5b2d1c70e991926500f55
Author: Ovilia <zw...@gmail.com>
AuthorDate: Thu May 30 15:06:07 2019 +0800

    fix: update pointer when type is none, #fix 10570
---
 src/component/axisPointer/BaseAxisPointer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/component/axisPointer/BaseAxisPointer.js b/src/component/axisPointer/BaseAxisPointer.js
index 3d564aa..6b206bb 100644
--- a/src/component/axisPointer/BaseAxisPointer.js
+++ b/src/component/axisPointer/BaseAxisPointer.js
@@ -238,7 +238,7 @@ BaseAxisPointer.prototype = {
      */
     updatePointerEl: function (group, elOption, updateProps) {
         var pointerEl = inner(group).pointerEl;
-        if (pointerEl) {
+        if (pointerEl && elOption.pointer) {
             pointerEl.setStyle(elOption.pointer.style);
             updateProps(pointerEl, {shape: elOption.pointer.shape});
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org