mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Editor updates lines when it is resized
This commit is contained in:
@@ -210,6 +210,9 @@ class Editor extends View
|
||||
else
|
||||
@gutter.addClass('drop-shadow')
|
||||
|
||||
$(window).on "resize", =>
|
||||
@updateLines()
|
||||
|
||||
afterAttach: (onDom) ->
|
||||
return if @attached or not onDom
|
||||
@attached = true
|
||||
|
||||
Reference in New Issue
Block a user