summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/play.js b/play.js
index 82b7422..51e95ec 100644
--- a/play.js
+++ b/play.js
@@ -8,7 +8,6 @@ function check_menu(id, x) {
function remember_position(e) {
if (e.parentElement) {
- console.log("REMEMBER", e.my_id)
let rect = e.getBoundingClientRect()
e.my_parent = e.parentElement
e.my_x = rect.x
@@ -32,7 +31,7 @@ function animate_position(e) {
{ transform: `translate(${dx}px, ${dy}px)`, },
{ transform: "translate(0, 0)", },
],
- { duration: 500, easing: "ease" }
+ { duration: 250, easing: "ease" }
)
}
} else {
@@ -41,7 +40,7 @@ function animate_position(e) {
{ opacity: 0 },
{ opacity: 1 }
],
- { duration: 500, easing: "ease" }
+ { duration: 250, easing: "ease" }
)
}
}