Don't change scroll position of the tab bar when it is expanded from shrunken

This commit is contained in:
YUKI Hiroshi 2015-12-25 17:21:50 +09:00
parent b214268d69
commit 63e291b603

View File

@ -2098,6 +2098,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
this.notifyingRenderedEvent = false;
if (!collapsed &&
this.autoHide.mode == this.autoHide.kMODE_HIDE &&
aReason & this.kTABBAR_UPDATE_BY_AUTOHIDE &&
this.browser) // ignore calling after destroyed...
this.scrollToTab(this.browser.selectedTab);