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:
UK992 2017-07-15 21:16:56 +02:00
Родитель 31dec8468a
Коммит 157e06d64d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 {