@teselagen/ove 0.7.19 → 0.7.20

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/index.cjs.js CHANGED
@@ -123051,7 +123051,7 @@ function showFileDialog({ multiple = false, onSelect }) {
123051
123051
  }
123052
123052
  __name(showFileDialog, "showFileDialog");
123053
123053
  const name = "@teselagen/ove";
123054
- const version = "0.7.18";
123054
+ const version = "0.7.19";
123055
123055
  const main = "./src/index.js";
123056
123056
  const type = "module";
123057
123057
  const exports$1 = {
@@ -146091,7 +146091,7 @@ ${seqDataToCopy}\r
146091
146091
  }, [scrollPercentageToJumpTo]);
146092
146092
  React$3.useEffect(() => {
146093
146093
  const saveAlignment = /* @__PURE__ */ __name(() => __async(exports, null, function* () {
146094
- if (shouldAutosave && stateTrackingId) {
146094
+ if (shouldAutosave && stateTrackingId && handleAlignmentSave) {
146095
146095
  setSaveMessage("Alignment Saving..");
146096
146096
  setSaveMessageLoading(true);
146097
146097
  let cleanedTracks;
package/index.es.js CHANGED
@@ -123033,7 +123033,7 @@ function showFileDialog({ multiple = false, onSelect }) {
123033
123033
  }
123034
123034
  __name(showFileDialog, "showFileDialog");
123035
123035
  const name = "@teselagen/ove";
123036
- const version = "0.7.18";
123036
+ const version = "0.7.19";
123037
123037
  const main = "./src/index.js";
123038
123038
  const type = "module";
123039
123039
  const exports$1 = {
@@ -146073,7 +146073,7 @@ ${seqDataToCopy}\r
146073
146073
  }, [scrollPercentageToJumpTo]);
146074
146074
  useEffect(() => {
146075
146075
  const saveAlignment = /* @__PURE__ */ __name(() => __async(void 0, null, function* () {
146076
- if (shouldAutosave && stateTrackingId) {
146076
+ if (shouldAutosave && stateTrackingId && handleAlignmentSave) {
146077
146077
  setSaveMessage("Alignment Saving..");
146078
146078
  setSaveMessageLoading(true);
146079
146079
  let cleanedTracks;
package/index.umd.js CHANGED
@@ -150928,7 +150928,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
150928
150928
  }
150929
150929
  __name(showFileDialog, "showFileDialog");
150930
150930
  const name = "@teselagen/ove";
150931
- const version = "0.7.18";
150931
+ const version = "0.7.19";
150932
150932
  const main = "./src/index.js";
150933
150933
  const type = "module";
150934
150934
  const exports$1 = {
@@ -172366,7 +172366,7 @@ ${seqDataToCopy}\r
172366
172366
  }, [scrollPercentageToJumpTo]);
172367
172367
  reactExports.useEffect(() => {
172368
172368
  const saveAlignment = /* @__PURE__ */ __name(() => __async(this, null, function* () {
172369
- if (shouldAutosave && stateTrackingId) {
172369
+ if (shouldAutosave && stateTrackingId && handleAlignmentSave) {
172370
172370
  setSaveMessage("Alignment Saving..");
172371
172371
  setSaveMessageLoading(true);
172372
172372
  let cleanedTracks;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.7.19",
3
+ "version": "0.7.20",
4
4
  "main": "./src/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -459,7 +459,7 @@ export const AlignmentView = props => {
459
459
  useEffect(() => {
460
460
  const saveAlignment = async () => {
461
461
  //autosave if necessary!
462
- if (shouldAutosave && stateTrackingId) {
462
+ if (shouldAutosave && stateTrackingId && handleAlignmentSave) {
463
463
  setSaveMessage("Alignment Saving..");
464
464
  setSaveMessageLoading(true);
465
465
 
@@ -70,10 +70,10 @@
70
70
  .alignmentView .veSelectionLayer {
71
71
  top: 0;
72
72
  }
73
-
74
- .tg-reflex-element-inner .alignmentView {
73
+ /* tnw - commenting this out to improve scrolling of alignment view inside editor - https://github.com/TeselaGen/tg-oss/issues/128 */
74
+ /* .tg-reflex-element-inner .alignmentView {
75
75
  height: unset !important;
76
- }
76
+ } */
77
77
  .veTracksAndAlignmentHolder {
78
78
  position: relative;
79
79
  width: fit-content;
package/style.css CHANGED
@@ -11141,10 +11141,10 @@ li.bp3-menu-divider:last-child {
11141
11141
  .alignmentView .veSelectionLayer {
11142
11142
  top: 0;
11143
11143
  }
11144
-
11145
- .tg-reflex-element-inner .alignmentView {
11144
+ /* tnw - commenting this out to improve scrolling of alignment view inside editor - https://github.com/TeselaGen/tg-oss/issues/128 */
11145
+ /* .tg-reflex-element-inner .alignmentView {
11146
11146
  height: unset !important;
11147
- }
11147
+ } */
11148
11148
  .veTracksAndAlignmentHolder {
11149
11149
  position: relative;
11150
11150
  width: fit-content;