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.modern.js
CHANGED
|
@@ -2873,7 +2873,7 @@ var zoom = {
|
|
|
2873
2873
|
|
|
2874
2874
|
var openHelpLink = function openHelpLink() {
|
|
2875
2875
|
var _window$open;
|
|
2876
|
-
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.7.0-rc.
|
|
2876
|
+
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();
|
|
2877
2877
|
};
|
|
2878
2878
|
var help = {
|
|
2879
2879
|
help: {
|
|
@@ -12781,6 +12781,7 @@ var SelectTool = function () {
|
|
|
12781
12781
|
if (event.shiftKey) {
|
|
12782
12782
|
this.editor.selection(selMerge(sel, selection, true));
|
|
12783
12783
|
} else {
|
|
12784
|
+
this.editor.selection(null);
|
|
12784
12785
|
this.editor.selection(isSelected(selection, ci) ? selection : sel);
|
|
12785
12786
|
}
|
|
12786
12787
|
return true;
|
|
@@ -15482,6 +15483,10 @@ function domEventSetup(editor, clientArea) {
|
|
|
15482
15483
|
editor.lastEvent = event;
|
|
15483
15484
|
if (EditorTool && eventName in EditorTool) {
|
|
15484
15485
|
EditorTool[eventName](event);
|
|
15486
|
+
return true;
|
|
15487
|
+
}
|
|
15488
|
+
if (eventName === 'mouseup') {
|
|
15489
|
+
editor.selection(null);
|
|
15485
15490
|
}
|
|
15486
15491
|
return true;
|
|
15487
15492
|
}, -1);
|
|
@@ -22278,8 +22283,8 @@ var KetcherBuilder = function () {
|
|
|
22278
22283
|
initApp(element, staticResourcesUrl, {
|
|
22279
22284
|
buttons: buttons || {},
|
|
22280
22285
|
errorHandler: errorHandler || null,
|
|
22281
|
-
version: "2.7.0-rc.
|
|
22282
|
-
buildDate: "2022-12-
|
|
22286
|
+
version: "2.7.0-rc.7-dev1" ,
|
|
22287
|
+
buildDate: "2022-12-27T01:56:02" ,
|
|
22283
22288
|
buildNumber: ''
|
|
22284
22289
|
}, structService, resolve);
|
|
22285
22290
|
});
|