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

[echarts-examples] 01/04: fix(editor): fix z-index of the debug dirty rect.

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

wangzx pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git

commit e795f44b93d5e0f84714a6a99d16b5fac0f56f6c
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Sat Jul 30 22:58:30 2022 +0800

    fix(editor): fix z-index of the debug dirty rect.
---
 src/dep/showDebugDirtyRect.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dep/showDebugDirtyRect.js b/src/dep/showDebugDirtyRect.js
index 34ece51c..df71e224 100644
--- a/src/dep/showDebugDirtyRect.js
+++ b/src/dep/showDebugDirtyRect.js
@@ -50,7 +50,7 @@ function showDebugDirtyRect(zr, opts) {
   const debugViewRoot = document.createElement('div');
   debugViewRoot.className = 'ec-debug-dirty-rect-container';
   debugViewRoot.style.cssText =
-    'position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;';
+    'position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;z-index:9999999;';
   const debugRects = [];
   const dom = zr.dom;
   dom.appendChild(debugViewRoot);


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