[Pkg-mozext-commits] [tabmixplus] 40/48: Follow up bug 1390448 - Restore vertical margin calculation in browser-tabsintitlebar.js

David Prévot taffit at moszumanska.debian.org
Sun Aug 20 03:14:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 8f4046a69f3a685c740d364c4835a8869911f809
Author: onemen <tabmix.onemen at gmail.com>
Date:   Thu Aug 17 19:12:58 2017 +0300

    Follow up bug 1390448 - Restore vertical margin calculation in browser-tabsintitlebar.js
---
 chrome/content/places/places.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/chrome/content/places/places.js b/chrome/content/places/places.js
index 881bd18..11d87b2 100644
--- a/chrome/content/places/places.js
+++ b/chrome/content/places/places.js
@@ -798,7 +798,11 @@ Tabmix.onContentLoaded = {
       )._replace(
         'titlebarContentHeight = Math.max(titlebarContentHeight, fullTabsHeight)',
         'titlebarContentHeight = Math.max(titlebarContentHeight, TabmixTabbar.singleRowHeight + verticalMargins(tabsStyles))',
-        {check: Tabmix.isVersion(550)}
+        {check: !Tabmix.isVersion(570) && Tabmix.isVersion(550)}
+      )._replace(
+        'titlebarContentHeight = fullTabsHeight + 1',
+        'titlebarContentHeight = TabmixTabbar.singleRowHeight + verticalMargins(tabsStyles) + 1',
+        {check: Tabmix.isVersion(570)}
       ).toCode();
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list