mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Fixing openning maps bugs
This commit is contained in:
parent
a4ab2a2e42
commit
f5aee9d78f
@ -81,15 +81,17 @@ mindplot.FixedDistanceBoard.prototype.updateReferencePoint = function()
|
|||||||
{
|
{
|
||||||
var entry = entries[i];
|
var entry = entries[i];
|
||||||
|
|
||||||
var upperLimit = entry.getUpperLimit() + yOffset;
|
if(core.Utils.isDefined(entry)){
|
||||||
var lowerLimit = entry.getLowerLimit() + yOffset;
|
var upperLimit = entry.getUpperLimit() + yOffset;
|
||||||
entry.setUpperLimit(upperLimit);
|
var lowerLimit = entry.getLowerLimit() + yOffset;
|
||||||
entry.setLowerLimit(lowerLimit);
|
entry.setUpperLimit(upperLimit);
|
||||||
|
entry.setLowerLimit(lowerLimit);
|
||||||
|
|
||||||
// Fix x position ...
|
// Fix x position ...
|
||||||
var xPos = this.workoutXBorderDistance();
|
var xPos = this.workoutXBorderDistance();
|
||||||
entry.setXPosition(xPos);
|
entry.setXPosition(xPos);
|
||||||
entry.update();
|
entry.update();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this._referencePoint = parentPosition.clone();
|
this._referencePoint = parentPosition.clone();
|
||||||
|
|
||||||
|
@ -574,7 +574,8 @@ mindplot.MindmapDesigner.prototype._nodeModelToNodeGraph = function(nodeModel)
|
|||||||
for (var i = 0; i < children.length; i++)
|
for (var i = 0; i < children.length; i++)
|
||||||
{
|
{
|
||||||
var child = children[i];
|
var child = children[i];
|
||||||
this._nodeModelToNodeGraph(children[i]);
|
if(core.Utils.isDefined(child))
|
||||||
|
this._nodeModelToNodeGraph(child);
|
||||||
}
|
}
|
||||||
|
|
||||||
var workspace = this._workspace;
|
var workspace = this._workspace;
|
||||||
|
Loading…
Reference in New Issue
Block a user