openchemlib 8.8.0 → 8.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * openchemlib - Manipulate molecules
3
- * @version v8.8.0
4
- * @date 2024-01-31T14:23:50.946Z
3
+ * @version v8.8.1
4
+ * @date 2024-02-01T07:40:03.216Z
5
5
  * @link https://github.com/cheminfo/openchemlib-js
6
6
  * @license BSD-3-Clause
7
7
  */
@@ -25662,8 +25662,9 @@ _.getTextSize = function getTextSize(){
25662
25662
  }
25663
25663
  ;
25664
25664
  _.onDrawAtom = function onDrawAtom_0(atom, symbol, x_0, y_0){
25665
- var s;
25666
- s = '<circle id="' + this.getId() + ':Atom:' + atom + '" ' + 'class="event" ' + 'data-atom-map-no="' + this.getMolecule_0().getAtomMapNo_0(atom) + '" ' + 'cx="' + carc2.round_0(x_0) + '" ' + 'cy="' + carc2.round_0(y_0) + '" ' + 'r="' + 8 + '" ' + 'opacity="0" />';
25665
+ var atomMapNo, s;
25666
+ atomMapNo = this.getMolecule_0().getAtomMapNo_0(atom);
25667
+ s = '<circle id="' + this.getId() + ':Atom:' + atom + '" ' + 'class="event" ' + (atomMapNo == 0?'':'data-atom-map-no="' + atomMapNo + '" ') + 'cx="' + carc2.round_0(x_0) + '" ' + 'cy="' + carc2.round_0(y_0) + '" ' + 'r="' + 8 + '" ' + 'opacity="0" />';
25667
25668
  this.atoms.add(s);
25668
25669
  }
25669
25670
  ;
@@ -89522,7 +89523,7 @@ $gwt && $gwt.permProps && __gwtModuleFunction.__moduleStartupDone($gwt.permProps
89522
89523
 
89523
89524
  var toReturn = $wnd["OCL"];
89524
89525
 
89525
- toReturn.version = '8.8.0';
89526
+ toReturn.version = '8.8.1';
89526
89527
 
89527
89528
  return toReturn;
89528
89529
  }