fix visual issues

This commit is contained in:
JFH
2021-09-08 22:33:13 +02:00
parent 3b6af37f47
commit e8d59904f7
3 changed files with 21 additions and 2 deletions

View File

@@ -1049,7 +1049,7 @@ export const getStrokedBBox = function (elems, addSVGElementFromJson, pathAction
});
// This shouldn't ever happen...
if (fullBb === undefined) { return null; }
if (!fullBb) { return null; }
// fullBb doesn't include the stoke, so this does no good!
// if (elems.length == 1) return fullBb;