mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Update display synchronously when scrolling to prevent flicker
This commit is contained in:
@@ -460,7 +460,7 @@ class Editor extends View
|
||||
return if scrollTop == @cachedScrollTop
|
||||
@cachedScrollTop = scrollTop
|
||||
|
||||
@requestDisplayUpdate() if @attached
|
||||
@updateDisplay() if @attached
|
||||
|
||||
@renderedLines.css('top', -scrollTop)
|
||||
@underlayer.css('top', -scrollTop)
|
||||
|
||||
Reference in New Issue
Block a user