From: john Date: Thu, 21 Jun 2018 08:34:04 +0000 (+0800) Subject: roojs-core.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=f3680e66a6b52b4244174c320bb85ae34e4b70b9 roojs-core.js roojs-core-debug.js --- diff --git a/roojs-core-debug.js b/roojs-core-debug.js index eb23157645..0eb8dd2f72 100644 --- a/roojs-core-debug.js +++ b/roojs-core-debug.js @@ -8795,6 +8795,7 @@ if(opt.anim.isAnimated()){ * @return {Roo.Element} this */ hide : function(animate){ + Roo.log('hiding...'); this.setVisible(false, this.preanim(arguments, 0)); return this; }, diff --git a/roojs-core.js b/roojs-core.js index 2d01b955d3..80347a18d8 100644 --- a/roojs-core.js +++ b/roojs-core.js @@ -365,7 +365,7 @@ var P=document;var Q=(P.documentElement.scrollLeft||P.body.scrollLeft||0)+5;var var x=xy[0],y=xy[1];var w=this.dom.offsetWidth,h=this.dom.offsetHeight;var N=false;if((x+w)>vr){x=vr-w;N=true;}if((y+h)>vb){y=vb-h;N=true;}if(x