MCPcopy Index your code
hub / github.com/midrender/revideo / currentProgress

Method currentProgress

packages/2d/src/lib/code/CodeCursor.ts:385–396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

383 }
384
385 private currentProgress() {
386 if (this.globalProgress.length === 0) {
387 return 0;
388 }
389
390 let sum = 0;
391 for (const progress of this.globalProgress) {
392 sum += progress;
393 }
394
395 return sum / this.globalProgress.length;
396 }
397
398 private processSelection(
399 selection: {before: number | null; after: number | null},

Callers 1

drawTokenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected