Procházet zdrojové kódy

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 před 2 roky
rodič
revize
30ee13fe64
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +1
    -1
      macrovision.js
  2. +1
    -1
      math.min.js

+ 1
- 1
macrovision.js Zobrazit soubor

@@ -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
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


Načítá se…
Zrušit
Uložit