fix spacer issue

This commit is contained in:
Jeff Colombo 2019-02-18 22:34:28 -05:00
parent d8b913194b
commit 353c57a715
2 changed files with 7 additions and 0 deletions

4
dist/main-bundle.js vendored
View File

@ -39193,6 +39193,10 @@ function (_react_1$default$Comp) {
spacer += String.fromCharCode(160) + String.fromCharCode(160);
} else if (statValue < 100) {
spacer += String.fromCharCode(160);
if (statValue < 10) {
spacer += String.fromCharCode(160);
}
}
return react_1.default.createElement("div", {

View File

@ -35,6 +35,9 @@ export class StatDisplay extends React.Component<IStartDisplayProps, object> {
spacer += String.fromCharCode(160) + String.fromCharCode(160);
} else if (statValue < 100) {
spacer += String.fromCharCode(160);
if (statValue < 10) {
spacer += String.fromCharCode(160);
}
}
return (