cubing 0.31.3 → 0.31.4
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/twisty/index.js
CHANGED
|
@@ -4621,7 +4621,7 @@ var TwistyAlgViewer = class extends HTMLElementShim {
|
|
|
4621
4621
|
const timestampPromise = (async () => {
|
|
4622
4622
|
const indexer = await twistyPlayer.experimentalModel.indexer.get();
|
|
4623
4623
|
const offset = offsetIntoMove ? DEFAULT_OFFSET_MS : 0;
|
|
4624
|
-
return
|
|
4624
|
+
return indexer.indexToMoveStartTimestamp(index) + indexer.moveDuration(index) - offset;
|
|
4625
4625
|
})();
|
|
4626
4626
|
twistyPlayer.experimentalModel.timestampRequest.set(
|
|
4627
4627
|
await timestampPromise
|