ketcher-react 2.7.0-rc.6 → 2.7.0-rc.7-dev1
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
|
@@ -2934,7 +2934,7 @@ var zoom = {
|
|
|
2934
2934
|
|
|
2935
2935
|
var openHelpLink = function openHelpLink() {
|
|
2936
2936
|
var _window$open;
|
|
2937
|
-
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.7.0-rc.
|
|
2937
|
+
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.7.0-rc.7\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
|
|
2938
2938
|
};
|
|
2939
2939
|
var help = {
|
|
2940
2940
|
help: {
|
|
@@ -12842,6 +12842,7 @@ var SelectTool = function () {
|
|
|
12842
12842
|
if (event.shiftKey) {
|
|
12843
12843
|
this.editor.selection(selMerge(sel, selection, true));
|
|
12844
12844
|
} else {
|
|
12845
|
+
this.editor.selection(null);
|
|
12845
12846
|
this.editor.selection(isSelected(selection, ci) ? selection : sel);
|
|
12846
12847
|
}
|
|
12847
12848
|
return true;
|
|
@@ -15543,6 +15544,10 @@ function domEventSetup(editor, clientArea) {
|
|
|
15543
15544
|
editor.lastEvent = event;
|
|
15544
15545
|
if (EditorTool && eventName in EditorTool) {
|
|
15545
15546
|
EditorTool[eventName](event);
|
|
15547
|
+
return true;
|
|
15548
|
+
}
|
|
15549
|
+
if (eventName === 'mouseup') {
|
|
15550
|
+
editor.selection(null);
|
|
15546
15551
|
}
|
|
15547
15552
|
return true;
|
|
15548
15553
|
}, -1);
|
|
@@ -22339,8 +22344,8 @@ var KetcherBuilder = function () {
|
|
|
22339
22344
|
initApp(element, staticResourcesUrl, {
|
|
22340
22345
|
buttons: buttons || {},
|
|
22341
22346
|
errorHandler: errorHandler || null,
|
|
22342
|
-
version: "2.7.0-rc.
|
|
22343
|
-
buildDate: "2022-12-
|
|
22347
|
+
version: "2.7.0-rc.7-dev1" ,
|
|
22348
|
+
buildDate: "2022-12-27T01:56:02" ,
|
|
22344
22349
|
buildNumber: ''
|
|
22345
22350
|
}, structService, resolve);
|
|
22346
22351
|
});
|