simplify error rendering logic

This commit is contained in:
Nick Krecklow
2020-05-11 18:58:47 -05:00
parent 0c98930d4c
commit bbdbe7e599
2 changed files with 10 additions and 12 deletions

View File

@ -38,7 +38,7 @@ export class RelativeScale {
}
}
if (max === Number.MAX_VALUE) {
if (max === Number.MIN_VALUE) {
max = 0
}