mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-27 09:20:20 +09:00
Fix small horizontal scrolling glitch
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user