Skip to content

Commit

Permalink
don't bother using screen blending over black bg
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragzouken committed Mar 25, 2023
1 parent 5ac4b54 commit fc1bb42
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
72 changes: 36 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/client/scene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class SceneRenderer extends EventEmitter {

context.save();
try {
context.globalCompositeOperation = 'screen';
context.globalCompositeOperation = 'source-over';
context.drawImage(this.mediaElement, inset + ox, inset + oy, rw, rh);
} catch (error) {
console.log("ERROR DRAWING VIDEO:", error);
Expand Down

0 comments on commit fc1bb42

Please sign in to comment.