@prose-reader/core 1.141.0 → 1.142.0

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
@@ -8771,9 +8771,9 @@ const selectionEnhancer = (next) => (options) => {
8771
8771
  withLatestFrom(selection$),
8772
8772
  map$1(([, selection]) => selection),
8773
8773
  startWith$1(void 0),
8774
- shareReplay$1(1)
8774
+ shareReplay$1({ refCount: true, bufferSize: 1 })
8775
8775
  );
8776
- selection$.pipe(takeUntil(reader.$.destroy$)).subscribe();
8776
+ merge(selection$, lastSelectionOnPointerdown$).pipe(takeUntil(reader.$.destroy$)).subscribe();
8777
8777
  return {
8778
8778
  ...reader,
8779
8779
  selection: {