Skip to content

Commit

Permalink
Merge pull request #517 from wowsims/rogue
Browse files Browse the repository at this point in the history
Floor the resource display in timeline
  • Loading branch information
jimmyt857 authored Mar 13, 2022
2 parents d05f2aa + 65bc897 commit 4efb524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/detailed_results/timeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ export class Timeline extends ResultComponent {
if (resourceType == ResourceType.ResourceTypeMana) {
resourceElem.textContent = (resourceLogGroup.valueAfter / startValue * 100).toFixed(0) + '%';
} else {
resourceElem.textContent = resourceLogGroup.valueAfter.toFixed(0);
resourceElem.textContent = Math.floor(resourceLogGroup.valueAfter).toFixed(0);
}
rowElem.appendChild(resourceElem);

Expand Down

0 comments on commit 4efb524

Please sign in to comment.