chore: ⚰️ works
This commit is contained in:
parent
ec28c5cc73
commit
532c0187f6
1 changed files with 0 additions and 5 deletions
|
@ -139,11 +139,6 @@ onMounted(() => {
|
||||||
function checkPosition() {
|
function checkPosition() {
|
||||||
let windowY = window.scrollY;
|
let windowY = window.scrollY;
|
||||||
postButton.style.transform = `scale(${windowY < scrollPos ? '1' : '0'})`;
|
postButton.style.transform = `scale(${windowY < scrollPos ? '1' : '0'})`;
|
||||||
// if (windowY < scrollPos) {
|
|
||||||
// postButton.style.transform = 'scale(1)';
|
|
||||||
// } else {
|
|
||||||
// postButton.style.transform = 'scale(0)';
|
|
||||||
// }
|
|
||||||
scrollPos = windowY;
|
scrollPos = windowY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue