キーボードショートカットを使った後にタブバーが表示されてしまう問題を修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2057 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
8dd33b0d51
commit
beb5043222
@ -1265,7 +1265,8 @@ catch(e) {
|
|||||||
this.accelKeyPressed
|
this.accelKeyPressed
|
||||||
) {
|
) {
|
||||||
if (this.getTreePref('tabbar.autoShow.accelKeyDown') &&
|
if (this.getTreePref('tabbar.autoShow.accelKeyDown') &&
|
||||||
!sv.tabbarShown) {
|
!sv.tabbarShown &&
|
||||||
|
!this.delayedAutoShowTimer) {
|
||||||
this.delayedAutoShowTimer = window.setTimeout(
|
this.delayedAutoShowTimer = window.setTimeout(
|
||||||
function(aSelf) {
|
function(aSelf) {
|
||||||
aSelf.delayedAutoShowDone = true;
|
aSelf.delayedAutoShowDone = true;
|
||||||
@ -1284,7 +1285,7 @@ catch(e) {
|
|||||||
cancelDelayedAutoShow : function()
|
cancelDelayedAutoShow : function()
|
||||||
{
|
{
|
||||||
if (this.delayedAutoShowTimer) {
|
if (this.delayedAutoShowTimer) {
|
||||||
window.clearInterval(this.delayedAutoShowTimer);
|
window.clearTimeout(this.delayedAutoShowTimer);
|
||||||
this.delayedAutoShowTimer = null;
|
this.delayedAutoShowTimer = null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user