@d-i-t-a/reader 2.0.0-beta.7 → 2.0.0-beta.8

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/esm/index.js CHANGED
@@ -53315,7 +53315,7 @@ var TimelineModule = class {
53315
53315
  if (this.delegate.rights.enableMaterial) {
53316
53316
  this.positionSlider = findElement(document, "#positionSlider");
53317
53317
  }
53318
- if (this.delegate.rights.autoGeneratePositions && this.publication.positions) {
53318
+ if (this.publication.positions) {
53319
53319
  if (this.positionSlider)
53320
53320
  this.positionSlider.style.display = "block";
53321
53321
  } else {
@@ -60530,7 +60530,7 @@ function updateConfig(rights, publication) {
60530
60530
  rights.enablePageBreaks = false;
60531
60531
  rights.enableLineFocus = false;
60532
60532
  }
60533
- if (publication.sample) {
60533
+ if (publication.sample?.isSampleRead) {
60534
60534
  rights.enableAnnotations = false;
60535
60535
  rights.enableSearch = false;
60536
60536
  rights.enableTTS = false;