Fix bug when opening save panel for sprite with performance problem
This commit is contained in:
parent
4c6d2c1e48
commit
2cdc999875
1 changed files with 3 additions and 2 deletions
|
@ -53,9 +53,10 @@
|
|||
};
|
||||
|
||||
ns.SaveController.prototype.updateSaveToGalleryMessage_ = function (spritesheetSize) {
|
||||
if (pskl.app.performanceReportService.hasProblem()) {
|
||||
var saveToGalleryStatus = document.querySelector('.save-online-status');
|
||||
if (saveToGalleryStatus && pskl.app.performanceReportService.hasProblem()) {
|
||||
var warningPartial = pskl.utils.Template.get('save-gallery-warning-partial');
|
||||
document.querySelector('.save-online-status').innerHTML = warningPartial;
|
||||
saveToGalleryStatus.innerHTML = warningPartial;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue