This commit is contained in:
TheGiddyLimit
2024-01-25 23:07:09 +00:00
parent 5ffd4acdb4
commit a4e391a3e7
94 changed files with 7263 additions and 939 deletions

View File

@@ -136,7 +136,15 @@ class DmMapperRoot extends BaseComponent {
$parent.append(`<div class="ve-flex-vh-center w-100 h-100"><i class="dnd-font ve-muted">Loading...</i></div>`);
RenderMap.$pGetRendered(this._state)
RenderMap.$pGetRendered(
this._state,
{
fnGetContainerDimensions: () => {
const bcr = $parent[0].getBoundingClientRect();
return {w: bcr.width, h: bcr.height};
},
},
)
.then($ele => $parent.empty().append($ele));
}
}