|
|
|
@@ -1097,8 +1097,8 @@ function configEntityOptions(entity, view) { |
|
|
|
} else { |
|
|
|
updateSizes(true); |
|
|
|
} |
|
|
|
updateEntityOptions(entity, view); |
|
|
|
updateViewOptions(entity, view); |
|
|
|
updateEntityOptions(entity, entity.view); |
|
|
|
updateViewOptions(entity, entity.view); |
|
|
|
}); |
|
|
|
|
|
|
|
scaleInput.addEventListener("keydown", e => { |
|
|
|
@@ -1295,6 +1295,7 @@ function configViewOptions(entity, view) { |
|
|
|
} |
|
|
|
|
|
|
|
function updateViewOptions(entity, view, changed) { |
|
|
|
console.log(entity, view) |
|
|
|
Object.entries(entity.views[view].attributes).forEach(([key, val]) => { |
|
|
|
if (key != changed) { |
|
|
|
const input = document.querySelector("#options-view-" + key + "-input"); |
|
|
|
|