@wistia/vhs 4.0.0-beta.8eac0c1a.5bcb9ae → 4.0.0-beta.932eabd2.412f086
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs v4.0.0-beta.
|
|
3
|
+
* @license @wistia/vhs v4.0.0-beta.932eabd2.412f086
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -12728,7 +12728,7 @@ var setCursorPosition = (ref, start, end) => {
|
|
|
12728
12728
|
var getSelectionFromMove = (selection, move, positions) => {
|
|
12729
12729
|
const currentIndex = positions.findIndex((pos) => pos.start === selection[0]);
|
|
12730
12730
|
let nextPosition = positions[currentIndex + move];
|
|
12731
|
-
if (nextPosition
|
|
12731
|
+
if (nextPosition?.type === "skip") {
|
|
12732
12732
|
nextPosition = positions[currentIndex + move * 2];
|
|
12733
12733
|
}
|
|
12734
12734
|
if (nextPosition) {
|