mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-23 20:03:48 +01:00
Bug WA-57 fixed. #resolve
This commit is contained in:
parent
928ef3d813
commit
cbaaed7810
@ -160,13 +160,13 @@ mindplot.Designer = new Class(/** @lends Designer */{
|
||||
var model = me._createChildModel(centralTopic, mousePos);
|
||||
this._actionDispatcher.addTopics([model], [centralTopic.getId()]);
|
||||
}
|
||||
});
|
||||
}.bind(this));
|
||||
|
||||
// Register mouse drag and drop event ...
|
||||
function noopHandler(evt) {
|
||||
evt.stopPropagation();
|
||||
evt.preventDefault();
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
@ -476,8 +476,7 @@ mindplot.Designer = new Class(/** @lends Designer */{
|
||||
_copyNodeProps: function (sourceModel, targetModel) {
|
||||
|
||||
// I don't copy the font size if the target is the source is the central topic.
|
||||
if(sourceModel.getType() != mindplot.model.INodeModel.CENTRAL_TOPIC_TYPE)
|
||||
{
|
||||
if (sourceModel.getType() != mindplot.model.INodeModel.CENTRAL_TOPIC_TYPE) {
|
||||
var fontSize = sourceModel.getFontSize();
|
||||
if (fontSize) {
|
||||
targetModel.setFontSize(fontSize)
|
||||
|
Loading…
Reference in New Issue
Block a user