remove when detached

This commit is contained in:
Justin Palmer
2013-01-30 10:14:04 -08:00
parent 2abe3e47de
commit bc61c3ca98
2 changed files with 5 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ class EditorStatsView extends ScrollView
detach: =>
super()
@.remove()
@rootView.focus()
serialize: ->

View File

@@ -10,6 +10,10 @@
shape-rendering: crispedges;
}
.editor-stats rect.bar.max {
fill: rgba(0, 163, 255, 1);
}
.editor-stats text {
font-size: 10px;
fill: rgba(255, 255, 255, 0.2);