Skip to content

Commit 9e4e9c4

Browse files
committed
Hide popup when zooming and clicking.
1 parent 1f7e514 commit 9e4e9c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/dgmlViewer_Template.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@
363363
hidePopup();
364364
});
365365
cy.on('click', 'node', function (evt) {
366+
hidePopup();
366367
doShowPopup = false;
367368
var filepath = evt.target.data().filepath;
368369
if (filepath && filepath.length > 0) {
@@ -389,6 +390,7 @@
389390
hidePopup();
390391
});
391392
cy.on('zoom', function (evt) {
393+
hidePopup();
392394
vscode.postMessage({
393395
command: 'zoom',
394396
text: cy.zoom()

0 commit comments

Comments
 (0)