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/07/04 02:15:04 UTC
[incubator-echarts] 02/02: fix(dataZoom): fix position not update
after resized
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch label-enhancement
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit 4ec8de7c4656927729d3f535d4252f91e5d45328
Author: pissang <bm...@gmail.com>
AuthorDate: Sat Jul 4 10:14:25 2020 +0800
fix(dataZoom): fix position not update after resized
---
src/component/dataZoom/SliderZoomView.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/component/dataZoom/SliderZoomView.ts b/src/component/dataZoom/SliderZoomView.ts
index d49e9a8..bfd3d7f 100644
--- a/src/component/dataZoom/SliderZoomView.ts
+++ b/src/component/dataZoom/SliderZoomView.ts
@@ -251,6 +251,7 @@ class SliderZoomView extends DataZoomView {
const rect = thisGroup.getBoundingRect([barGroup]);
thisGroup.x = location.x - rect.x;
thisGroup.y = location.y - rect.y;
+ thisGroup.markRedraw();
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org