Fix textAttribute in save

This commit is contained in:
ckcz123 2018-09-17 18:42:15 +08:00
parent 3a50fb9330
commit bc5d4efcf7

View File

@ -2368,7 +2368,7 @@ control.prototype.loadData = function (data, callback) {
}
}
core.status.textAttribute = core.getFlag('textAttribute') || core.status.textAttribute || core.initStatus.textAttribute;
core.status.textAttribute = core.getFlag('textAttribute', core.status.textAttribute);
// load icons
var icon = core.getFlag("heroIcon", "hero.png");