mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
Bug WA-57 fixed. #resolve
This commit is contained in:
parent
2914f5b256
commit
2f26b19250
@ -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