зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1372043 - Set height on titlebar buttons only in miximized window r=dao
MozReview-Commit-ID: 5wMN83E72in --HG-- extra : rebase_source : b3425f1105c70fd85e057493d33c97eadfcdd2e9
This commit is contained in:
Родитель
31dec8468a
Коммит
157e06d64d
|
@ -178,7 +178,7 @@ var TabsInTitlebar = {
|
|||
|
||||
if (AppConstants.MOZ_PHOTON_THEME &&
|
||||
AppConstants.isPlatformAndVersionAtLeast("win", "10.0")) {
|
||||
if (!menuHeight) {
|
||||
if (!menuHeight && window.windowState == window.STATE_MAXIMIZED) {
|
||||
titlebarContentHeight = Math.max(titlebarContentHeight, fullTabsHeight);
|
||||
$("titlebar-buttonbox").style.height = titlebarContentHeight + "px";
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче