Skip to content

Commit

Permalink
take out debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-combe committed Oct 19, 2021
1 parent f8eb5ad commit 78432c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/complexviewer.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions src/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -917,11 +917,11 @@ export class App {
this.contextMenuProt = this.dragElement;

let p = this.getEventPoint(evt);
if (isNaN(p.x)) { //?
alert("isNaN", p);
alert(p.x);
// p = this.getEventPoint(this.dragStart);
}
// if (isNaN(p.x)) { //?
// // alert("isNaN", p);
// // alert(p.x);
// p = this.getEventPoint(this.dragStart);
// }
this.contextMenuPoint = p.matrixTransform(this.container.getCTM().inverse());
const menu = d3.select(".custom-menu-margin");
let pageX, pageY;
Expand Down

0 comments on commit 78432c5

Please sign in to comment.