Bläddra i källkod

Add the new SI prefixes

Also reduce the minimum height for the world when manually entering
a size -- it used to be a nanometer. The minimum exists so that
the world size never becomes 0. Perhaps this should be changed.
master
Fen Dweller 2 år sedan
förälder
incheckning
30ee13fe64
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. +1
    -1
      macrovision.js
  2. +1
    -1
      math.min.js

+ 1
- 1
macrovision.js Visa fil

@@ -5992,7 +5992,7 @@ function updateWorldHeight() {
return;
}

const newHeight = Math.max(0.000000001, value);
const newHeight = Math.max(1e-40, value);
const oldHeight = config.height;

setWorldHeight(oldHeight, math.unit(newHeight, unit), true);


+ 1
- 1
math.min.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


Laddar…
Avbryt
Spara