From 6ba7134d08c88436c875f5f7082fb309c8d08b3a Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Mon, 18 Jan 2016 19:01:07 +0900 Subject: [PATCH] Don't hide/shrink the tab bar when the visibility of menu items is changed. It unexpectedly reacted changes of the visibility of the menu item #menu_readerModeItem and others. --- modules/browserUIShowHideObserver.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/browserUIShowHideObserver.js b/modules/browserUIShowHideObserver.js index 927e4055..95e7b412 100644 --- a/modules/browserUIShowHideObserver.js +++ b/modules/browserUIShowHideObserver.js @@ -156,6 +156,8 @@ BrowserUIShowHideObserver.prototype = { TST.evaluateXPath( // ignore modifications in the location bar (ex. identity icon) 'ancestor-or-self::xul:textbox |' + + // or menu items + 'ancestor-or-self::xul:menupopup |' + // or scrollable indicator in the vertical tab bar 'ancestor-or-self::xul:spacer[' + 'contains(@class, "arrowscrollbox-overflow-start-indicator") or ' +