mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Clear button selection when pointer leaves
This commit is contained in:
parent
aa05c40794
commit
18c349054e
1 changed files with 1 additions and 3 deletions
|
|
@ -89,9 +89,7 @@ export default function WinampButton({
|
|||
};
|
||||
|
||||
const onPointerLeave = (e: React.PointerEvent<HTMLDivElement>) => {
|
||||
if (e.buttons === 1) {
|
||||
setActive(false);
|
||||
}
|
||||
setActive(false);
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue