move textarea and gutter-line-highlight to main cursor
This commit is contained in:
parent
ed7750e70e
commit
83cf35e7ea
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ var Cursor = function(parentEl) {
|
||||||
selections = [{cursor: null}];
|
selections = [{cursor: null}];
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var i = selections.length; i--; ) {
|
for (var i = 0, n = selections.length; i < n; i++) {
|
||||||
var pixelPos = this.getPixelPosition(selections[i].cursor, true);
|
var pixelPos = this.getPixelPosition(selections[i].cursor, true);
|
||||||
if ((pixelPos.top > config.height + config.offset ||
|
if ((pixelPos.top > config.height + config.offset ||
|
||||||
pixelPos.top < -config.offset) && i > 1) {
|
pixelPos.top < -config.offset) && i > 1) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue