mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-09 00:43:23 +01:00
A couple if minor improvements.
This commit is contained in:
parent
bb6c9702e2
commit
e8cfa5163d
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
mindplot.EditorOptions =
|
mindplot.EditorOptions =
|
||||||
{
|
{
|
||||||
// LayoutManager:"OriginalLayout"
|
LayoutManager:"OriginalLayout",
|
||||||
LayoutManager:"FreeMindLayout",
|
// LayoutManager:"FreeMindLayout",
|
||||||
textEditor:"TextEditor"
|
textEditor:"TextEditor"
|
||||||
// textEditor:"RichTextEditor"
|
// textEditor:"RichTextEditor"
|
||||||
|
|
||||||
|
@ -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()
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user