This commit is contained in:
Nick Winter 2016-03-23 15:24:38 -07:00
parent f53d46cb90
commit 00bd983590
2 changed files with 5 additions and 2 deletions
app
styles/play/ladder
views/ladder

View file

@ -8,6 +8,9 @@
.histogram-display
height: 130px
svg
overflow: visible
.bar rect
fill: steelblue

View file

@ -248,12 +248,12 @@ module.exports = class LadderTabView extends CocoView
.data([playerScore])
.enter().append('g')
.attr('class', 'specialbar')
.attr('transform', "translate(#{x(playerScore)}, #{y(9001)})")
.attr('transform', "translate(#{x(playerScore)}, 0)")
scorebar.append('rect')
.attr('x', 1)
.attr('width', 3)
.attr('height', height - y(9001))
.attr('height', height)
rankClass = 'rank-text'
if teamName.toLowerCase() is 'ogres' then rankClass = 'rank-text ogres-rank-text'
if teamName.toLowerCase() is 'humans' then rankClass = 'rank-text humans-rank-text'