mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Set initial render to be 100ms after attach
This commit is contained in:
@@ -69,6 +69,7 @@ class EditorStatsView extends ScrollView
|
||||
.attr('width', @x.rangeBand())
|
||||
.attr('class', 'bar')
|
||||
|
||||
setTimeout((=> @update()), 100)
|
||||
@updateInterval = setInterval((=> @update()), 5000)
|
||||
|
||||
update: ->
|
||||
|
||||
Reference in New Issue
Block a user