round soul to integer (compatibility with earlier HK versions)
This commit is contained in:
parent
cce9d458e5
commit
50fb58e607
3 changed files with 5 additions and 5 deletions
|
|
@ -5134,11 +5134,11 @@ function SingleEntryFill(section, entry) {
|
|||
span = ["", ""];
|
||||
Img = soulNormal;
|
||||
|
||||
for (var _i = 0, _total = entry.amountTotal / 33; _i < _total; _i++) {
|
||||
for (var _i = 0, _total = Math.round(entry.amountTotal / 33); _i < _total; _i++) {
|
||||
textSuffix += Img;
|
||||
}
|
||||
|
||||
textSuffix += "".concat(p, "<sup>(").concat(entry.amountTotal / 33, ")</sup>");
|
||||
textSuffix += "".concat(p, "<sup>(").concat(Math.round(entry.amountTotal / 33), ")</sup>");
|
||||
break;
|
||||
|
||||
case "notches":
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue