summaryrefslogtreecommitdiff
path: root/public/js/p5_custom.js
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-10-06 15:32:23 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-10-06 15:32:23 +0200
commit1c0a1d62484b63c51bb1fc224ce1b53465a27baf (patch)
treef28db7c00c06f55eb52c97861aee2eaafd04af70 /public/js/p5_custom.js
parentc353c87c511b9d447f39f78826030d15a76b2691 (diff)
Update
Diffstat (limited to 'public/js/p5_custom.js')
-rw-r--r--public/js/p5_custom.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/public/js/p5_custom.js b/public/js/p5_custom.js
index 53a1156..d081e3f 100644
--- a/public/js/p5_custom.js
+++ b/public/js/p5_custom.js
@@ -48,13 +48,8 @@ draw_arrow=function(p,x1,y1,x2,y2,elt=null,canvas,skiparrow=false,flip=false){
} else {
elt.elt.style.display="block"
}
- elt.position(elt_x,elt_y)
-
-
- }
-
-}
-draw_elt_on_arrow=function(p,canvas,center,elt){
-
+ // Move element
+ elt.position(elt_x,elt_y)
+ }
}