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