Don't cancel the timer to hide (or collapse) the tab bar after a tab is opened or closed (#581, regression)

This commit is contained in:
Piro / YUKI Hiroshi 2013-10-30 04:30:08 +09:00
parent 2964e64df5
commit 78e4ea5526

View File

@ -362,7 +362,6 @@ AutoHideBrowser.prototype = {
if (shouldShow) { if (shouldShow) {
this.show(this.kSHOWN_BY_MOUSEMOVE); this.show(this.kSHOWN_BY_MOUSEMOVE);
this.cancelDelayedShowForShortcut(); this.cancelDelayedShowForShortcut();
this.cancelHideForFeedback();
} }
else if ( else if (
!shouldShow && !shouldShow &&
@ -382,7 +381,6 @@ AutoHideBrowser.prototype = {
this.showHideOnMouseMoveTimer = w.setTimeout( this.showHideOnMouseMoveTimer = w.setTimeout(
function(aSelf) { function(aSelf) {
aSelf.cancelDelayedShowForShortcut(); aSelf.cancelDelayedShowForShortcut();
aSelf.cancelHideForFeedback();
aSelf.show(aSelf.kSHOWN_BY_MOUSEMOVE); aSelf.show(aSelf.kSHOWN_BY_MOUSEMOVE);
}, },
utils.getTreePref('tabbar.autoHide.delay'), utils.getTreePref('tabbar.autoHide.delay'),