diff --git a/macrovision.js b/macrovision.js index 1ebf5d57..b6c6600c 100644 --- a/macrovision.js +++ b/macrovision.js @@ -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");