mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
v1.199.0
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user