Просмотр исходного кода

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 лет назад
Родитель
Сommit
30ee13fe64
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      macrovision.js
  2. +1
    -1
      math.min.js

+ 1
- 1
macrovision.js Просмотреть файл

@@ -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
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


Загрузка…
Отмена
Сохранить