agent def + windows fixes + 2d view + 3d view
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user