oggy / tab-switcher

Like a window switcher for your Atom tabs.
MIT License
23 stars 11 forks source link

When switching fast, avoid the black flash? #20

Closed jeanlauliac closed 9 years ago

jeanlauliac commented 9 years ago

When quicking switching to the previous file, we don't need the history list to display. The problem is that the menu displays immediately, so when switching fast there's am annoying black flash happening. To fix this, we could simply have a little delay between the key-press and the menu appearing.

This is the same behavior as Meta-Tab in OS X or Windows, where you have a little delay before the menu appears, for this very reason.

oggy commented 9 years ago

Thanks for the suggestion!

I just pushed v1.3.0 which has a configurable option for this (defaults to a 0.1s delay).