From 1c0a1d62484b63c51bb1fc224ce1b53465a27baf Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 6 Oct 2021 15:32:23 +0200 Subject: Update --- public/js/p5_custom.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'public') 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) + } } -- cgit v1.2.3