Index: tracing/tracing/ui/base/event_presenter.html |
diff --git a/tracing/tracing/ui/base/event_presenter.html b/tracing/tracing/ui/base/event_presenter.html |
index a1ad1d2f62b187ad9f7ff3086e0abb9bbe8bda65..2d078df56ca5ef937dda1630a2fcbddc6fb203ac 100644 |
--- a/tracing/tracing/ui/base/event_presenter.html |
+++ b/tracing/tracing/ui/base/event_presenter.html |
@@ -37,8 +37,9 @@ tr.exportTo('tr.ui.b', function() { |
}, |
getTextColor: function(event) { |
- if (event.selectionState === SelectionState.DIMMED) |
+ if (event.selectionState === SelectionState.DIMMED) { |
return 'rgb(60,60,60)'; |
+ } |
return 'rgb(0,0,0)'; |
}, |
@@ -48,8 +49,9 @@ tr.exportTo('tr.ui.b', function() { |
getSliceAlpha: function(slice, async) { |
var alpha = 1; |
- if (async) |
+ if (async) { |
alpha *= 0.3; |
+ } |
return alpha; |
}, |