mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-10 17:56:15 +00:00
Fix save graph to image for old saves.
This commit is contained in:
@@ -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