浏览代码

Fix scrolling putting the world height in meters into the world height box

It should put the height in the currently chosen unit into the input box
tags/v0.0.4
Fen Dweller 5 年前
父节点
当前提交
70515a0047
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      macrovision.js

+ 2
- 2
macrovision.js 查看文件

@@ -304,9 +304,9 @@ function updateWorldOptions(entity, view) {
const heightInput = document.querySelector("#options-height-value");
const heightSelect = document.querySelector("#options-height-unit");

const converted = config.height.to(heightSelect.value);
const converted = config.height.toNumber(heightSelect.value);

heightInput.value = math.round(converted.value, 3);
heightInput.value = math.round(converted, 3);
}
function configEntityOptions(entity, view) {
const holder = document.querySelector("#options-entity");


正在加载...
取消
保存