summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-13 08:41:27 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-13 08:41:27 +0800
commit6ed7d2c3b757313b95544b120e8496d8fd73415e (patch)
tree3f0633683e739c173eda24982d386aadcf1d6bd8 /src
parentf2757bcf6b8ae3eb1d6b52549f8112ba9090fee9 (diff)
added always float after exit
Diffstat (limited to 'src')
-rw-r--r--src/js/tilt.conf.js1
-rw-r--r--src/js/tilt.conf.noglare.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/js/tilt.conf.js b/src/js/tilt.conf.js
index 8d95be2f..f1273ade 100644
--- a/src/js/tilt.conf.js
+++ b/src/js/tilt.conf.js
@@ -2,4 +2,5 @@ VanillaTilt.init(document.querySelectorAll(".tilt"),{
glare: true,
reverse: true,
"max-glare": 0.1,
+ reset: true,
})
diff --git a/src/js/tilt.conf.noglare.js b/src/js/tilt.conf.noglare.js
index 0dafec5f..d1695192 100644
--- a/src/js/tilt.conf.noglare.js
+++ b/src/js/tilt.conf.noglare.js
@@ -1,4 +1,5 @@
VanillaTilt.init(document.querySelectorAll(".tilt"),{
reverse: true,
glare: false,
+ reset: true,
})