You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/04/24 06:15:37 UTC

[incubator-echarts] branch next updated: fix position of component view may not update bug.

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

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


The following commit(s) were added to refs/heads/next by this push:
     new a96d971  fix position of component view may not update bug.
a96d971 is described below

commit a96d97191b28500d2a3dc4f44e53221d54fbe218
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Apr 24 14:12:57 2020 +0800

    fix position of component view may not update bug.
---
 src/echarts.ts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/echarts.ts b/src/echarts.ts
index 9711a77..d60e366 100644
--- a/src/echarts.ts
+++ b/src/echarts.ts
@@ -1620,6 +1620,8 @@ class ECharts extends Eventful {
                 const componentModel = componentView.__model;
                 componentView.render(componentModel, ecModel, api, payload);
 
+                componentView.group.markRedraw();
+
                 updateZ(componentModel, componentView);
                 updateHoverEmphasisHandler(componentView);
             });
@@ -1652,6 +1654,7 @@ class ECharts extends Eventful {
                 unfinished |= +renderTask.perform(scheduler.getPerformArgs(renderTask));
 
                 chartView.group.silent = !!seriesModel.get('silent');
+                chartView.group.markRedraw();
 
                 updateZ(seriesModel, chartView);
 


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