mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-10-22 08:08:52 +00:00
Fix save graph to image for old saves.
This commit is contained in:
1 parent
23ef760b23
commit
cb19bd9d4a
2 files changed
+2
-2
No files matched your search
@@ -189,7 +189,7 @@ BaseVertex.prototype.getDefaultDiameterFactor = function (textSize)
|
||||
BaseVertex.prototype.getBBox = function (style)
|
||||
{
|
||||
var textSize = DefaultMainTextFontSize;
|
||||
if (style !== undefined)
|
||||
if (style !== undefined && style.mainTextFontSize !== undefined)
|
||||
{
|
||||
textSize = style.mainTextFontSize;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user