Skip to content

Commit

Permalink
fix light
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriTimoz committed Dec 6, 2024
1 parent a4c70f1 commit ce430f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions submarine.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ export class Submarine {

this.lightMask.drawCircle(this.app.screen.width / 2, this.app.screen.height / 2, 200);
this.lightMask.cut();
// this.lightMask.drawCircle(this.app.screen.width / 2, this.app.screen.height / 2, 200);
this.lightMask.endFill();
this.updateLightMask();

// Apply the mask to the dark overlay
this.dark.mask = this.lightMask;
Expand Down

0 comments on commit ce430f3

Please sign in to comment.