[Pkg-mozext-commits] [tabmixplus] 03/13: Tab width expands when mouse is over the tab, regressed by changeset d1b7407592b4

David Prévot taffit at moszumanska.debian.org
Mon Oct 20 02:33:50 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 f9ac1c5d31ad0d065a6144e0deec19e1eb93b761
Author: onemen <tabmix.onemen at gmail.com>
Date:   Wed Oct 15 11:11:54 2014 +0300

    Tab width expands when mouse is over the tab, regressed by changeset d1b7407592b4
---
 chrome/content/tab/tabbrowser_4.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/tab/tabbrowser_4.xml b/chrome/content/tab/tabbrowser_4.xml
index 9abeb53..50e32bd 100644
--- a/chrome/content/tab/tabbrowser_4.xml
+++ b/chrome/content/tab/tabbrowser_4.xml
@@ -206,7 +206,8 @@
 
         if (aTab.mIsHover && aTab.getAttribute("showbutton") != "on" &&
             !aTab.hasAttribute("dragged")) {
-          aTab.style.setProperty("width", aTab.getBoundingClientRect().width + "px", "important");
+          if (TabmixTabbar.widthFitTitle)
+            aTab.style.setProperty("width", aTab.getBoundingClientRect().width + "px", "important");
           aTab.setAttribute("showbutton", "on");
           aTab.parentNode.__showbuttonTab = aTab;
         }

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