A couple if minor improvements.

This commit is contained in:
Paulo Gustavo Veiga 2011-04-18 23:59:13 -03:00
parent bb6c9702e2
commit e8cfa5163d
4 changed files with 9 additions and 9 deletions

View File

@ -61,14 +61,14 @@ mindplot.CentralTopic.prototype.createChildModel = function(prepositionate)
this.___siblingDirection = 1; this.___siblingDirection = 1;
} }
// Positionate following taking into account this internal flag ... // Position following taking into account this internal flag ...
if (this.___siblingDirection == 1) if (this.___siblingDirection == 1)
{ {
childModel.setPosition(100, 0); childModel.setPosition(150, 0);
} else } else
{ {
childModel.setPosition(-100, 0); childModel.setPosition(-150, 0);
} }
this.___siblingDirection = -this.___siblingDirection; this.___siblingDirection = -this.___siblingDirection;
} }

View File

@ -1,7 +1,7 @@
mindplot.EditorOptions = mindplot.EditorOptions =
{ {
// LayoutManager:"OriginalLayout" LayoutManager:"OriginalLayout",
LayoutManager:"FreeMindLayout", // LayoutManager:"FreeMindLayout",
textEditor:"TextEditor" textEditor:"TextEditor"
// textEditor:"RichTextEditor" // textEditor:"RichTextEditor"

View File

@ -98,11 +98,11 @@ mindplot.FixedDistanceBoard.prototype.updateReferencePoint = function()
}; };
mindplot.FixedDistanceBoard.MAIN_TOPIC_TO_MAIN_TOPIC_DISTANCE = 20; mindplot.FixedDistanceBoard.MAIN_TOPIC_TO_MAIN_TOPIC_DISTANCE = 30;
/** /**
* This x distance does't take into account the size of the shape. * This x distance doesn't take into account the size of the shape.
*/ */
mindplot.FixedDistanceBoard.prototype.workoutXBorderDistance = function() mindplot.FixedDistanceBoard.prototype.workoutXBorderDistance = function()
{ {

View File

@ -100,7 +100,7 @@ public class MindMap {
public String getProperties() { public String getProperties() {
String ret; String ret;
if (properties == null) { if (properties == null) {
ret = "{zoom:0.7,saveOnLoad:true}"; ret = "{zoom:0.85,saveOnLoad:true}";
} else { } else {
ret = properties; ret = properties;
} }