Skip to content

Commit 78cc6ee

Browse files
committed
jazz
1 parent bebb05d commit 78cc6ee

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

scripts/section-transitions/about.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function initTransition() {
3232

3333
// accouting for large screens, where there is very minimal scrolling
3434
useScrollPosition(({ yPercentage }) => {
35-
if (yPercentage === 1) show()
35+
if (yPercentage >= 0.99) show()
3636
})
3737
}
3838

scripts/section-transitions/contact.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ export function initTransition() {
3131

3232
// accouting for large screens, where there is very minimal scrolling
3333
useScrollPosition(({ yPercentage }) => {
34-
console.log(yPercentage)
35-
if (yPercentage === 1) show()
34+
if (yPercentage >= 0.99) show()
3635
})
3736
}
3837

scripts/section-transitions/projects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function initTransition() {
3636

3737
// accouting for large screens, where there is very minimal scrolling
3838
useScrollPosition(({ yPercentage }) => {
39-
if (yPercentage === 1) show()
39+
if (yPercentage >= 0.99) show()
4040
})
4141
}
4242

0 commit comments

Comments
 (0)