Skip to content

Commit

Permalink
fixed bug in mec.view.info
Browse files Browse the repository at this point in the history
  • Loading branch information
jauhl committed Mar 1, 2019
1 parent dd47ef0 commit 2b5d145
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mec2.js
Original file line number Diff line number Diff line change
Expand Up @@ -2288,7 +2288,7 @@ mec.view.info = {
const val = this.of[this.show];
const aly = mec.aly[this.name || this.show];
const type = aly.type;
const nodescl = (this.elem.type === 'node' && this.model.env.show.nodeScaling) ? 1.5 : 1;
const nodescl = (this.of.type === 'node' && this.model.env.show.nodeScaling) ? 1.5 : 1;
const usrval = q => (q*aly.scl/nodescl).toPrecision(3);

return (aly.name||this.show) + ': '
Expand Down
Loading

0 comments on commit 2b5d145

Please sign in to comment.