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

Unified Diff: tracing/tracing/ui/extras/rail/rail_score_side_panel.html

Issue 1357983002: Invert pain to comfort throughout tracing. (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
Index: tracing/tracing/ui/extras/rail/rail_score_side_panel.html
diff --git a/tracing/tracing/ui/extras/rail/rail_score_side_panel.html b/tracing/tracing/ui/extras/rail/rail_score_side_panel.html
index 9b8c343ae817f2ca91e7899772eb0ddaf7e99646..4a5f6ee3174ee8c1bbd8ab3fa4c4b5d09723e679 100644
--- a/tracing/tracing/ui/extras/rail/rail_score_side_panel.html
+++ b/tracing/tracing/ui/extras/rail/rail_score_side_panel.html
@@ -207,14 +207,14 @@ found in the LICENSE file.
}
},
{
- title: 'Pain',
+ title: 'Comfort',
width: '33%',
value: function(ir) {
- return toThreeDigitLocaleString(ir.normalizedUserPain);
+ return toThreeDigitLocaleString(ir.normalizedUserComfort);
},
textAlign: 'right',
cmp: function(a, b) {
- return a.normalizedUserPain - b.normalizedUserPain;
+ return a.normalizedUserComfort - b.normalizedUserComfort;
}
},
{
« no previous file with comments | « tracing/tracing/model/interaction_record_test.html ('k') | tracing/tracing/ui/extras/rail/rail_score_side_panel_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698