- return this.arrowAlign != 'bottom' ?\r
- e.getPageX() > this.el.child(this.buttonSelector).getRegion().right :\r
- e.getPageY() > this.el.child(this.buttonSelector).getRegion().bottom;\r
+ if (this.arrowAlign != 'bottom') {\r
+ var visBtn = this.el.child('em.x-btn-split');\r
+ var right = visBtn.getRegion().right - visBtn.getPadding('r');\r
+ return e.getPageX() > right;\r
+ } else {\r
+ return e.getPageY() > this.btnEl.getRegion().bottom;\r
+ }\r