fix: Horizontal scrollbar breaks selection

This commit is contained in:
Fabian Jakobs 2010-04-28 09:29:50 +02:00
commit 06e21af2f4
2 changed files with 3 additions and 4 deletions

View file

@ -62,7 +62,8 @@ ace.VirtualRenderer = function(container) {
};
this.getMouseEventTarget = function() {
return this.scroller;
// return top most layer
return this.cursorLayer.element;
};
this.getFirstVisibleRow = function() {