summaryrefslogtreecommitdiff
path: root/public/js/p5_custom.js
diff options
context:
space:
mode:
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)
+ }
}