Skip to content

Commit

Permalink
Merge pull request #994 from drgrice1/bugfix/graphtool-derived-custom…
Browse files Browse the repository at this point in the history
…tool

Fix a bug for custom GraphTool tools that derive from a built in tool.
  • Loading branch information
pstaabp authored Jan 24, 2024
2 parents da7dc73 + ac80a2e commit 832cb29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/js/GraphTool/graphtool.js
Original file line number Diff line number Diff line change
Expand Up @@ -2080,7 +2080,7 @@ window.graphTool = (containerId, options) => {

handleKeyEvent(e) {
if ('handleKeyEvent' in toolObject) toolObject.handleKeyEvent.call(this, gt, e);
if (parentTool) super.handleKeyEvent();
if (parentTool) super.handleKeyEvent(e);
}

activate() {
Expand Down

0 comments on commit 832cb29

Please sign in to comment.