Skip to content

Commit

Permalink
Remove debug mesgs
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoes committed Jul 17, 2024
1 parent 8250ef1 commit a80f0b9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions src/GLViewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1359,8 +1359,6 @@ export class GLViewer {
this.WIDTH = this.getWidth();
this.HEIGHT = this.getHeight();
let regen = false;
console.log("resize "+this.container.id);
console.log("lost "+this.renderer.isLost() + " w"+this.WIDTH+ " h"+this.HEIGHT);
if (this.renderer.isLost() && this.WIDTH > 0 && this.HEIGHT > 0) {
//create new context
let resetcanvas = false;
Expand All @@ -1383,8 +1381,6 @@ export class GLViewer {
if(resetcanvas) {
this.config.canvas = this.renderer.getCanvas();
}
console.log("regen "+regen+" resetcanvas "+resetcanvas);

}
if (this.WIDTH == 0 || this.HEIGHT == 0) {
if (this.animated) this._viewer.pauseAnimate();
Expand Down
1 change: 0 additions & 1 deletion src/ui/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ $3Dmol.StateManager = (function(){

glviewer.removeSurface(surfaces[surfaceProperty.id]);

console.log(surfaceProperty);
glviewer.addSurface(
$3Dmol.SurfaceType[surfaceProperty.surfaceType.value],
style,
Expand Down
3 changes: 0 additions & 3 deletions src/ui/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1170,8 +1170,6 @@ $3Dmol.UI = (function () {
} else {
valueHolder.text(value.replace(/\^/g, ''));
}

console.log('Type of value', typeof (value), value);
}

/*
Expand Down Expand Up @@ -1819,7 +1817,6 @@ $3Dmol.UI = (function () {
else {
formSurfaceStyle.getValue();
control.id = surfaceBox.data('surf-id');
console.log('Edit surface called')
stateManager.editSurface(control); // -> add updateSurface funciton to surfaceMenu
surfacePropertyBox.hide();
}
Expand Down

0 comments on commit a80f0b9

Please sign in to comment.