diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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" } ) } } |