diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index f4e84267..8353f33a 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -575,6 +575,7 @@ TreeStyleTabBrowser.prototype = { this.onPrefChange('extensions.treestyletab.showBorderForFirstTab'); this.onPrefChange('extensions.treestyletab.tabbar.invertTabContents'); this.onPrefChange('extensions.treestyletab.tabbar.invertClosebox'); + this.onPrefChange('extensions.treestyletab.tabbar.autoShow.mousemove'); this.onPrefChange('extensions.treestyletab.animation.enabled'); var tabContextMenu = b.tabContextMenu || @@ -1775,6 +1776,17 @@ TreeStyleTabBrowser.prototype = { this.checkTabsIndentOverflow(); return; + case 'extensions.treestyletab.tabbar.autoShow.mousemove': + let (toggler = document.getAnonymousElementByAttribute(b, 'class', this.kTABBAR_TOGGLER)) { + if (toggler) { + if (value) + toggler.removeAttribute('hidden'); + else + toggler.setAttribute('hidden', true); + } + } + return; + case 'extensions.treestyletab.maxTreeLevel.phisical': if (this.maxTreeLevelPhisical = value) this.promoteTooDeepLevelTabs();