Skip to content

Commit

Permalink
Fix triangular cut out from curtain in walkthrough in Firefox
Browse files Browse the repository at this point in the history
(closes #1675)

Smallest diff ever!
  • Loading branch information
bhousel committed Jan 17, 2025
1 parent 89dbba3 commit 09dcacf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ui/intro/UiCurtain.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export class UiCurtain {
// calculate path
// cover container in darkness
const cr = containerRect;
let path = `M${cr.left},${cr.top} L${cr.left},${cr.bottom} L${cr.right},${cr.bottom}, L${cr.right},${cr.top} Z`;
let path = `M${cr.left},${cr.top} L${cr.left},${cr.bottom} L${cr.right},${cr.bottom} L${cr.right},${cr.top} Z`;

if (this._revealPolygon.length) { // cut out the hole
const polygon = this._revealPolygon;
Expand Down

0 comments on commit 09dcacf

Please sign in to comment.