mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-24 20:23:50 +01:00
copy parent background color when a sibling or a child is created
This commit is contained in:
parent
8318e897fe
commit
663310b388
@ -506,6 +506,11 @@ mindplot.Designer = new Class({
|
|||||||
if(borderColor){
|
if(borderColor){
|
||||||
targetModel.setBorderColor(borderColor)
|
targetModel.setBorderColor(borderColor)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var backgroundColor = sourceModel.getBackgroundColor();
|
||||||
|
if(backgroundColor){
|
||||||
|
targetModel.setBackgroundColor(backgroundColor)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
_createChildModel:function (topic, mousePos) {
|
_createChildModel:function (topic, mousePos) {
|
||||||
|
Loading…
Reference in New Issue
Block a user