agent def + windows fixes + 2d view + 3d view

This commit is contained in:
STEINNI
2025-09-26 21:02:32 +00:00
parent 73e2b5a762
commit dd860b45a9
5 changed files with 177 additions and 107 deletions
+7 -1
View File
@@ -103,6 +103,11 @@ class EICController extends Controller {
<section></section>
</div>`);
if(options.expanded) content.setAttribute('expanded','');
if(options.windowStyle){
for(const k in options.windowStyle){
content.style[k] = options.windowStyle[k]
}
}
let container = content.querySelector('section');
container.innerHTML = Controller.processTemplate(options.name, html, data);
@@ -291,7 +296,8 @@ class EICController extends Controller {
}
attach(content) {
ui.show(content.view.el,!content.expanded ? 'grid': 'block');
//ui.show(content.view.el,!content.expanded ? 'grid': 'block');
ui.show(content.view.el, 'flex');
content.visible = true;
}