mirror of
https://github.com/atom/atom.git
synced 2026-02-08 13:45:09 -05:00
ui timeout hack returns
This commit is contained in:
@@ -51,6 +51,9 @@ class Editor extends Pane
|
||||
el = document.body
|
||||
el.addEventListener 'DOMNodeInsertedIntoDocument', => @resize()
|
||||
el.addEventListener 'DOMNodeRemovedFromDocument', => @resize()
|
||||
setTimeout =>
|
||||
@resize()
|
||||
, 500
|
||||
|
||||
modeMap:
|
||||
js: 'javascript'
|
||||
|
||||
Reference in New Issue
Block a user