mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
fix initial height so bars don't fly in from the top
This commit is contained in:
@@ -65,6 +65,7 @@ class EditorStatsView extends ScrollView
|
||||
.data(data)
|
||||
.enter().append('rect')
|
||||
.attr('x', (d, i) => @x i)
|
||||
.attr('height', (d, i) => h - @y(d.value) - @pt - @pb)
|
||||
.attr('y', (d) => @y(d.value))
|
||||
.attr('width', @x.rangeBand())
|
||||
.attr('class', 'bar')
|
||||
|
||||
Reference in New Issue
Block a user