Skip to content

Commit

Permalink
chore: add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
hughfenghen committed Jan 7, 2025
1 parent b17e4b4 commit 95bb3cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/av-canvas/src/av-canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ export class AVCanvas {
* @see [视频剪辑](https://bilibili.github.io/WebAV/demo/6_4-video-editor)
*/
async createCombinator(opts: ICombinatorOpts = {}) {
Log.info('AVCanvas.createCombinator, opts:', opts);

const com = new Combinator({ ...this.#opts, ...opts });
const sprites = this.#spriteManager.getSprites({ time: false });
if (sprites.length === 0) throw Error('No sprite added');
Expand Down

0 comments on commit 95bb3cd

Please sign in to comment.