зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1292345 - Downloads panel didn't shrink to the fit height after all items are downloaded. r=me
MozReview-Commit-ID: AV0S8GM0ztj --HG-- extra : rebase_source : e8d01256b994368b72c73344232f64cb26d6a357
This commit is contained in:
Родитель
a2979b25f8
Коммит
d14c6b15aa
|
@ -1525,6 +1525,10 @@ const DownloadsFooter = {
|
|||
} else {
|
||||
this._footerNode.removeAttribute("showingsummary");
|
||||
}
|
||||
if (!aValue && this._showingSummary) {
|
||||
// Make sure the panel's height shrinks when the summary is hidden.
|
||||
DownloadsBlockedSubview.view.setHeightToFit();
|
||||
}
|
||||
this._showingSummary = aValue;
|
||||
}
|
||||
return aValue;
|
||||
|
|
Загрузка…
Ссылка в новой задаче