Skip to content

Commit

Permalink
Merge pull request #227 from yuque/feat/jianrongxing
Browse files Browse the repository at this point in the history
feat: ๆๅ‡้€‰ๅ–ๅ‰ช่—็š„ๅ…ผๅฎนๆ€ง้—ฎ้ข˜
  • Loading branch information
moshangqi authored Dec 18, 2023
2 parents 48de0cb + 8ba1216 commit 9aa25ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/inject/AreaSelector/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ function App(props: IAppProps) {
}, 200);
};

window.addEventListener('mouseover', handleMouseOver);
window.addEventListener('mouseover', handleMouseOver, true);
window.addEventListener('click', onToggleSelect, true);
return () => {
window.removeEventListener('mouseover', handleMouseOver);
window.removeEventListener('mouseover', handleMouseOver, true);
window.removeEventListener('click', onToggleSelect, true);
};
}, []);
Expand Down

0 comments on commit 9aa25ab

Please sign in to comment.