Fix small horizontal scrolling glitch
This commit is contained in:
parent
c7b84a7eaa
commit
cfd97b21ad
1 changed files with 1 additions and 1 deletions
|
@ -794,7 +794,7 @@ func (v *View) DisplayView() {
|
|||
lineStyle = lineStyle.Background(fg)
|
||||
}
|
||||
}
|
||||
if screenX-v.x-v.leftCol >= v.lineNumOffset {
|
||||
if screenX-v.x-v.leftCol+i >= v.lineNumOffset {
|
||||
v.drawCell(screenX-v.leftCol+i, screenY, ' ', nil, lineStyle)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue