AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

Use MouseEvent.detail to detect double click on LHS

Open JasonYeMSFT opened this issue 3 years ago • 0 comments

In some of our click event listener, we manually detect and differentiate single click and double clicks to execute different actions. By taking advantage of the MoustEvent.detail property, which gives the click count (double clicks will have even click counts), we no longer need to maintain state variables ourselves for it.

JasonYeMSFT avatar Apr 26 '22 20:04 JasonYeMSFT