Skip to content

The Unified and Autonomous Development Platform

Fix the issue that scroll source code also shows symbol popup

robin shinea9de4aeedb8e
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/depotfile/blobview/source/source-view.js b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/depotfile/blobview/source/source-view.js
index e7ba2f6b8b..b796eeef88 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/depotfile/blobview/source/source-view.js
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/depotfile/blobview/source/source-view.js
@@ -186,6 +186,7 @@ gitplex.sourceview = {
if (initState)
pmease.commons.codemirror.initState(cm, viewState);
cm.on("scroll", function() {
+ gitplex.mouseState.moved = false;
alignCommentPopovers(cm);
});
} else {