Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: tracing/tracing/ui/base/event_presenter.html

Issue 1429863004: Actually fix analysis link hovering (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/ui/base/chart_base.html ('k') | tracing/tracing/ui/brushing_state.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 25e4743311796652bf3cfa28a1176b24b0b24c86..684973816879425e01265afb89772056fab1cb6e 100644
--- a/tracing/tracing/ui/base/event_presenter.html
+++ b/tracing/tracing/ui/base/event_presenter.html
@@ -19,7 +19,7 @@ tr.exportTo('tr.ui.b', function() {
var colors = ColorScheme.colors;
var colorsAsStrings = ColorScheme.colorsAsStrings;
- var numBaseColors = ColorScheme.properties.numBaseColors;
+ var numColorsPerVariant = ColorScheme.properties.numColorsPerVariant;
var SelectionState = tr.model.SelectionState;
@@ -80,7 +80,7 @@ tr.exportTo('tr.ui.b', function() {
getBarSnapshotColor: function(snapshot, offset) {
var colorId =
(snapshot.objectInstance.colorId + offset) %
- numBaseColors;
+ numColorsPerVariant;
colorId += this.getColorIdOffset_(snapshot);
return colors[colorId].toStringWithAlphaOverride(1.0);
}
« no previous file with comments | « tracing/tracing/ui/base/chart_base.html ('k') | tracing/tracing/ui/brushing_state.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698