xenolightning / AudioSwitcher_v1

Version 1 of Audio Switcher
Microsoft Public License
894 stars 90 forks source link

Minor: mouse click vs double-click. #2194

Open grichenko opened 5 years ago

grichenko commented 5 years ago

I'm using mouse single left click to switch between favorite devices. Sometimes the click opens the settings window instead of switching devices. It looks like there's a bug in checking single click vs double click - the first one is checked for mouse-down event, the second one uses mouse up. So, if I click slowly (mouse down, wait for about a second, mouse up), it switches device. If the delay between mouse-down and mouse-up is too short, it opens the settings window.

Not a big deal but somewhat annoying, and should probably be easy to fix.