Index: tools/skpdiff/viewer.html |
diff --git a/tools/skpdiff/viewer.html b/tools/skpdiff/viewer.html |
index bd198b24b4842b6dbd1d4d8cb82c0e47934768d0..46c5871ae1716da1b18e5295a5fccd7aa9275925 100644 |
--- a/tools/skpdiff/viewer.html |
+++ b/tools/skpdiff/viewer.html |
@@ -27,7 +27,7 @@ |
<table> |
<thead> |
<tr> |
- <td>Baseline Image</td> |
+ <td>Expected Image</td> |
<td>Actual Image</td> |
<td>Results</td> |
</tr> |
@@ -37,15 +37,18 @@ |
Loops through every record and crates a row for it. This sorts based on the whichever |
metric the user chose, and places a limit on the max number of records to show. |
--> |
- <tr ng-repeat="record in records | orderBy:sortingDiffer | limitTo:500"> |
- <td><swap-img left-src="{{ record.baselinePath }}" |
- right-src="{{ record.testPath }}" |
- side="left" |
- class="gm-image left-image" /></td> |
- <td><swap-img left-src="{{ record.baselinePath }}" |
- right-src="{{ record.testPath }}" |
- side="right" |
- class="gm-image right-image" /></td> |
+ <tr ng-repeat="record in records | orderBy:sortingDiffer | limitTo:500" |
+ class="{{ record.cssClasses }}"> |
+ <td ng-click="setHashOf(record.baselinePath, record)"> |
+ <swap-img left-src="{{ record.baselinePath }}" |
+ right-src="{{ record.testPath }}" |
+ side="left" |
+ class="gm-image left-image" /></td> |
+ <td ng-click="setHashOf(record.testPath, record)"> |
+ <swap-img left-src="{{ record.baselinePath }}" |
+ right-src="{{ record.testPath }}" |
+ side="right" |
+ class="gm-image right-image" /></td> |
<td> |
<div ng-repeat="diff in record.diffs" |
ng-mouseover="highlight(diff.differName)" |