openchemlib 9.5.0 → 9.6.0

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.
@@ -718,6 +718,7 @@ function createEditor(parentElement, options, onChange, JavaEditorArea, JavaEdit
718
718
  initialFragment = false
719
719
  } = options;
720
720
  const rootElement = document.createElement("div");
721
+ rootElement.dataset.openchemlibCanvasEditor = "true";
721
722
  Object.assign(rootElement.style, {
722
723
  width: "100%",
723
724
  height: "100%",
@@ -44807,6 +44808,8 @@ function getExports($wnd) {
44807
44808
  };
44808
44809
  _.eventHappened_2 = function eventHappened_7(e) {
44809
44810
  var atom1, atom2, bondChanged, ch_0, chainAtoms, hydrogenCount, i, isFirst, list, newRadical;
44811
+ if (this.mMouseIsDown)
44812
+ return;
44810
44813
  if (e.getWhat() == 1) {
44811
44814
  if (e.getKey() == -3) {
44812
44815
  this.mShiftIsDown = true;
@@ -71020,7 +71023,7 @@ function getExports($wnd) {
71020
71023
  $sendStats("moduleStartup", "end");
71021
71024
  $gwt && $gwt.permProps && __gwtModuleFunction.__moduleStartupDone($gwt.permProps);
71022
71025
  const toReturn = $wnd["OCL"];
71023
- toReturn.version = "9.5.0";
71026
+ toReturn.version = "9.6.0";
71024
71027
  return toReturn;
71025
71028
  }
71026
71029
  var isBrowserWindow = typeof window !== "undefined" && typeof window.document !== "undefined";
@@ -71164,8 +71167,8 @@ export {
71164
71167
  };
71165
71168
  /**
71166
71169
  * openchemlib - Manipulate molecules
71167
- * @version v9.5.0
71168
- * @date 2025-07-11T12:27:39.091Z
71170
+ * @version v9.6.0
71171
+ * @date 2025-07-14T13:46:09.420Z
71169
71172
  * @link https://github.com/cheminfo/openchemlib-js
71170
71173
  * @license BSD-3-Clause
71171
71174
  */