Skip to content

Commit

Permalink
reverse on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
X7md committed Dec 21, 2024
1 parent 1946ae6 commit ba92f85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ import '@/styles/globals.css'
document.querySelector("[data-alnaslaa]")
?.setAttribute("style", `clip-path: var(--cutit) !important`);
//console.log(state.axis, )
if(state.delta[1] > 0){
if(state.delta[1] < 0){
if(document.documentElement.style.getPropertyValue("--scrolling")){
scrolling -= 1;
}
}
if(state.delta[1] < 0){
if(state.delta[1] > 0){
scrolling += 1;
}
}
Expand Down

0 comments on commit ba92f85

Please sign in to comment.