ketcher-macromolecules 3.12.0-dev.1 → 3.12.0-rc.2

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.
package/dist/index.js CHANGED
@@ -125,10 +125,10 @@ var initialState$3 = {
125
125
  unipositiveIonsValue: 140,
126
126
  oligonucleotidesValue: 200,
127
127
  app: {
128
- buildDate: "2025-12-18T12:54:53" ,
128
+ buildDate: "2026-01-27T21:18:32" ,
129
129
  indigoVersion: process.env.INDIGO_VERSION || '',
130
130
  indigoMachine: process.env.INDIGO_MACHINE || '',
131
- version: "3.12.0-dev.1"
131
+ version: "3.12.0-rc.2"
132
132
  },
133
133
  selectedMenuGroupItems: {}
134
134
  };
@@ -2279,6 +2279,7 @@ function useLayoutMode() {
2279
2279
  React.useEffect(function () {
2280
2280
  editor === null || editor === void 0 || editor.events.layoutModeChange.add(onLayoutModeChange);
2281
2281
  return function () {
2282
+ onLayoutModeChange(ketcherCore.DEFAULT_LAYOUT_MODE);
2282
2283
  editor === null || editor === void 0 || editor.events.layoutModeChange.remove(onLayoutModeChange);
2283
2284
  };
2284
2285
  }, [onLayoutModeChange, editor]);