@complat/react-spectra-editor 1.2.0 → 1.2.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.
package/README.md CHANGED
@@ -66,4 +66,4 @@ Funded by the [Deutsche Forschungsgemeinschaft (DFG, German Research Foundation)
66
66
 
67
67
 
68
68
  [DFG]: https://www.dfg.de/en/
69
- [DFG Logo]: https://www.dfg.de/zentralablage/bilder/service/logos_corporate_design/logo_negativ_267.png
69
+ [DFG Logo]: https://chemotion.net/img/logos/DFG_logo.png
@@ -34,10 +34,13 @@ const styles = () => Object.assign({
34
34
  }, _common.commonStyle);
35
35
  const iconSize = '16px';
36
36
  const setFactor = (classes, isDisable, integrationSt, setIntegrationFkrAct, curveIdx) => {
37
- const onFactorChanged = e => setIntegrationFkrAct({
38
- factor: e.target.value,
39
- curveIdx
40
- });
37
+ const onFactorChanged = e => {
38
+ e.target.blur();
39
+ setIntegrationFkrAct({
40
+ factor: e.target.value,
41
+ curveIdx
42
+ });
43
+ };
41
44
  const onEnterPress = e => {
42
45
  if (e.key === 'Enter') {
43
46
  setIntegrationFkrAct({
@@ -212,10 +212,10 @@ const CyclicVoltammetryPanel = _ref => {
212
212
  }))), /*#__PURE__*/_react.default.createElement(_material.TableCell, {
213
213
  align: "left",
214
214
  className: (0, _classnames.default)(classes.tTxt, classes.square, 'txt-sv-panel-txt')
215
- }, "E1/2"), /*#__PURE__*/_react.default.createElement(_material.TableCell, {
215
+ }, "E", /*#__PURE__*/_react.default.createElement("sub", null, "1/2")), /*#__PURE__*/_react.default.createElement(_material.TableCell, {
216
216
  align: "left",
217
217
  className: (0, _classnames.default)(classes.tTxt, classes.square, 'txt-sv-panel-txt')
218
- }, "\u0394Ep", /*#__PURE__*/_react.default.createElement(_material.Tooltip, {
218
+ }, "\u0394E", /*#__PURE__*/_react.default.createElement("sub", null, "p"), /*#__PURE__*/_react.default.createElement(_material.Tooltip, {
219
219
  title: /*#__PURE__*/_react.default.createElement("span", {
220
220
  className: (0, _classnames.default)(classes.txtToolTip)
221
221
  }, "| Epa - Epc |")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@complat/react-spectra-editor",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "An editor to View and Edit Chemical Spectra data (NMR, IR and MS, CV, UIVIS, XRD).",
5
5
  "repository": {
6
6
  "type": "git",