miriad-viz 0.7.0 → 0.7.2

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.
@@ -56,13 +56,13 @@ function generateTiming(script, pacing) {
56
56
  let totalProjectTime = 0;
57
57
  totalProjectTime += leadIn * defaultSpeed;
58
58
  for (const line of resolved) {
59
- totalProjectTime += line.clipDuration * line.vizSpeed;
59
+ totalProjectTime += line.clipDuration;
60
60
  totalProjectTime += line.pauseAfter * line.gapVizSpeed;
61
61
  }
62
62
  totalProjectTime += tailOut * defaultSpeed;
63
63
  let accumulatedProjectTime = leadIn * defaultSpeed;
64
64
  const timedLines = resolved.map((line) => {
65
- const clipProjectTime = line.clipDuration * line.vizSpeed;
65
+ const clipProjectTime = line.clipDuration;
66
66
  const gapProjectTime = line.pauseAfter * line.gapVizSpeed;
67
67
  const progressStart = totalProjectTime > 0 ? accumulatedProjectTime / totalProjectTime : 0;
68
68
  accumulatedProjectTime += clipProjectTime;
package/dist-cli/index.js CHANGED
@@ -1530,7 +1530,7 @@ async function main() {
1530
1530
  const port = typeof flags.port === "string" ? Number.parseInt(flags.port, 10) : void 0;
1531
1531
  if (flags["from-pacing"] === true) {
1532
1532
  const dataDir = resolve3(projectDir, progress.project.dataDir);
1533
- const { runFromPacingChain } = await import("./from-pacing-chain-J22MLDQP.js");
1533
+ const { runFromPacingChain } = await import("./from-pacing-chain-ZP4XGDJ7.js");
1534
1534
  console.log("\n\u{1F517} Running from-pacing chain: timing \u2192 transform \u2192 preview\n");
1535
1535
  const chainResult = runFromPacingChain(dataDir);
1536
1536
  if (!chainResult.success) {
@@ -3254,5 +3254,5 @@ function VizScene() {
3254
3254
  }
3255
3255
 
3256
3256
  export { QUALITY, ReadyGate, ResponsiveCamera, SceneErrorBoundary, TOGGLE_LABELS, TOGGLE_ORDER, VizScene, useFrameProfile, useVizStore };
3257
- //# sourceMappingURL=chunk-PPBYTBI7.js.map
3258
- //# sourceMappingURL=chunk-PPBYTBI7.js.map
3257
+ //# sourceMappingURL=chunk-A4KKFJGR.js.map
3258
+ //# sourceMappingURL=chunk-A4KKFJGR.js.map