Merge pull request #2418 from xixixao/selection-zero-height
Remove 0 height selection highlight
This commit is contained in:
commit
48de4711eb
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ var Marker = function(parentEl) {
|
||||||
|
|
||||||
// all the complete lines
|
// all the complete lines
|
||||||
height = (range.end.row - range.start.row - 1) * config.lineHeight;
|
height = (range.end.row - range.start.row - 1) * config.lineHeight;
|
||||||
if (height < 0)
|
if (height <= 0)
|
||||||
return;
|
return;
|
||||||
top = this.$getTop(range.start.row + 1, config);
|
top = this.$getTop(range.start.row + 1, config);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue