mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-10 06:24:16 +01:00
spelling: sibling
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -77,7 +77,7 @@ function setBlockSizes(block: Block, db: BlockDB, siblingWidth = 0, siblingHeigh
|
|||||||
block?.size?.x,
|
block?.size?.x,
|
||||||
'block width =',
|
'block width =',
|
||||||
block?.size,
|
block?.size,
|
||||||
'sieblingWidth',
|
'siblingWidth',
|
||||||
siblingWidth
|
siblingWidth
|
||||||
);
|
);
|
||||||
if (!block?.size?.width) {
|
if (!block?.size?.width) {
|
||||||
@@ -141,7 +141,7 @@ function setBlockSizes(block: Block, db: BlockDB, siblingWidth = 0, siblingHeigh
|
|||||||
// If maxWidth
|
// If maxWidth
|
||||||
if (width < siblingWidth) {
|
if (width < siblingWidth) {
|
||||||
log.debug(
|
log.debug(
|
||||||
`Detected to small siebling: abc95 ${block.id} sieblingWidth ${siblingWidth} sieblingHeight ${siblingHeight} width ${width}`
|
`Detected to small sibling: abc95 ${block.id} siblingWidth ${siblingWidth} siblingHeight ${siblingHeight} width ${width}`
|
||||||
);
|
);
|
||||||
width = siblingWidth;
|
width = siblingWidth;
|
||||||
height = siblingHeight;
|
height = siblingHeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user