@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.mjs
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
|
*
|
|
@@ -12633,7 +12633,7 @@ var setCursorPosition = (ref, start, end) => {
|
|
|
12633
12633
|
var getSelectionFromMove = (selection, move, positions) => {
|
|
12634
12634
|
const currentIndex = positions.findIndex((pos) => pos.start === selection[0]);
|
|
12635
12635
|
let nextPosition = positions[currentIndex + move];
|
|
12636
|
-
if (nextPosition
|
|
12636
|
+
if (nextPosition?.type === "skip") {
|
|
12637
12637
|
nextPosition = positions[currentIndex + move * 2];
|
|
12638
12638
|
}
|
|
12639
12639
|
if (nextPosition) {
|