mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Fix perf regression: Don't update line numbers for single line changes
This commit is contained in:
@@ -71,7 +71,7 @@ class Gutter extends View
|
||||
performUpdate = true
|
||||
else
|
||||
for change in changes
|
||||
if change.delta != 0 or (change.bufferDelta? and change.bufferDelta != 0)
|
||||
if change.screenDelta or change.bufferDelta
|
||||
performUpdate = true
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user