Merge pull request #686 from ethereum/nodeRightClick

add nodeRightclick event
pull/7/head
yann300 7 years ago committed by GitHub
commit 3870ce2c62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      remix-debugger/src/ui/TreeView.js

@ -92,6 +92,9 @@ class TreeView {
label.onclick = function () {
self.expand(keyPath)
}
label.oncontextmenu = function (event) {
self.event.trigger('nodeRightClick', [key, data, label, event])
}
li.appendChild(list)
} else {
caret.style.visibility = 'hidden'

Loading…
Cancel
Save