From f3680e66a6b52b4244174c320bb85ae34e4b70b9 Mon Sep 17 00:00:00 2001 From: john Date: Thu, 21 Jun 2018 16:34:04 +0800 Subject: [PATCH] roojs-core.js roojs-core-debug.js --- roojs-core-debug.js | 1 + roojs-core.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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