From 5111cf446bf2b0abd2d7db406a5ce2119abdf4c4 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Mon, 2 Nov 2015 12:00:24 +0900 Subject: [PATCH] Don't apply "auto hide" prefs for mismatched mode --- modules/autoHide.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/autoHide.js b/modules/autoHide.js index 6746fc02..e85cd8e6 100644 --- a/modules/autoHide.js +++ b/modules/autoHide.js @@ -1089,14 +1089,16 @@ AutoHideBrowser.prototype = inherit(AutoHideBase.prototype, { if (!this.window.TreeStyleTabService.shouldApplyNewPref('tabbar.autoHide.mode')) return; this.browser.setAttribute(this.kMODE+'-normal', value); - this.updateMode(value); + if (!this.window.fullScreen) + this.updateMode(value); return; case 'extensions.treestyletab.tabbar.autoHide.mode.fullscreen': if (!this.window.TreeStyleTabService.shouldApplyNewPref('tabbar.autoHide.mode.fullscreen')) return; this.browser.setAttribute(this.kMODE+'-fullscreen', value); - this.updateMode(value); + if (this.window.fullScreen) + this.updateMode(value); return; case 'extensions.treestyletab.tabbar.autoShow.mousemove':