[Pkg-mozext-commits] [tabmixplus] 09/123: Prevent button on TabsToolbar from move down when there are more than one row. changeset 881da7f37d45. Follow up bug 990387 - Toolbar buttons on the TabsToolbar appear below the nav-bar border with a theme

David Prévot taffit at moszumanska.debian.org
Wed Sep 17 21:16:22 UTC 2014


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit d02127a1777c69158e235f94c3600564a841a2bf
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sat Aug 9 14:16:26 2014 +0300

    Prevent button on TabsToolbar from move down when there are more than one row. changeset 881da7f37d45.
    Follow up bug 990387 - Toolbar buttons on the TabsToolbar appear below the nav-bar border with a theme
---
 chrome/content/tab/tab.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/tab/tab.js b/chrome/content/tab/tab.js
index a4b2d59..f6d806d 100644
--- a/chrome/content/tab/tab.js
+++ b/chrome/content/tab/tab.js
@@ -1115,10 +1115,11 @@ var gTMPprefObserver = {
     if (TabmixSvc.isMac && !TabmixSvc.australis)
       Tabmix._buttonsHeight = 24;
 
+    let _buttonsHeight = Tabmix.isVersion(310) ? Tabmix._buttonsHeight - 1 : Tabmix._buttonsHeight;
     newRule = '#TabsToolbar[multibar] > .toolbarbutton-1,' +
                   '#tabmixScrollBox[flowing=multibar] > toolbarbutton,' +
                   '#TabsToolbar[multibar] > #tabs-closebutton {' +
-                  '  height: #px;}'.replace("#", Tabmix._buttonsHeight);
+                  '  height: #px;}'.replace("#", _buttonsHeight);
     this.insertRule(newRule);
     delete Tabmix._buttonsHeight;
 

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