diff --git a/bim.js b/bim.js index c458276..3ea7428 100644 --- a/bim.js +++ b/bim.js @@ -95,8 +95,18 @@ BIM.setupHighligther = async function (model) { const highlighter = this.components.get(OBF.Highlighter); highlighter.setup({ world }); - highlighter.events.select.onHighlight.add((property) => { - console.log(property); + highlighter.events.select.onHighlight.add(async (property) => { + const expressID = property[Object.keys(property)[0]].entries().next().value[0]; + let testProp = await model.getProperties(expressID); + + // BAD just for testing + const li = document.querySelector('#selected-prop'); + li.innerHTML = ` + + `; }); } diff --git a/css/bim.css b/css/bim.css index d2914c5..5a15dae 100644 --- a/css/bim.css +++ b/css/bim.css @@ -3,12 +3,12 @@ #scene { min-height: 93vh; - margin-left: 15vw; + margin-left: 25vw; overflow: hidden; } #ui { position: absolute; top: 3.5rem; - max-width: 15vw; + max-width: 25vw; z-index: 5; } \ No newline at end of file diff --git a/index.html b/index.html index c2dc6a5..f051a49 100644 --- a/index.html +++ b/index.html @@ -50,6 +50,12 @@ +