dillon1000/react
Commit
Browse files Select tab when the mouse is pressed
Selecting the tab when the mouse is pressed rather than only when it is released makes tab switching feel faster and also matches how the Chrome dev tools behave. The previous tab selection handler which listens for the radio button's selection has been kept for the benefit of interaction methods which don't trigger the mousedown handler.
Changed paths1 file
First-parent comparisonsrc/devtools/views/TabBar.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…