Skip to content

Commit

Permalink
Deploy preview for PR 19 🛫
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjrw committed Sep 9, 2024
1 parent e6783be commit cf924de
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pr-preview/pr-19/scp-3211/en/3211@2.0.3.js

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

2 changes: 1 addition & 1 deletion pr-preview/pr-19/scp-3211/jp/3211@2.0.3.js

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

2 changes: 1 addition & 1 deletion pr-preview/pr-19/scp-3211/zh/3211@2.0.3.js

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

3 changes: 2 additions & 1 deletion pr-preview/pr-19/scp-head/scout@0.0.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
let skipInitialRun = true;
const observer = new IntersectionObserver(
(entries) => {
if (skipInitialRun) return;
if (window.debug) console.debug(entries);
entries.sort((a, b) => a.time - b.time);
for (const pole of [poleTop, poleBottom]) {
Expand All @@ -139,6 +138,8 @@
}
}

if (skipInitialRun) return;

// Work out which edge of the screen the scout is on
const edge =
poleTop.intersectionRatio > poleBottom.intersectionRatio
Expand Down

0 comments on commit cf924de

Please sign in to comment.