mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-20 04:19:56 +02:00
fix VU, fix window parenting
This commit is contained in:
@@ -84,6 +84,15 @@ export default function App(): JSX.Element {
|
||||
window.electronAPI.stopWindowMove()
|
||||
}, [])
|
||||
|
||||
useEffect(() => {
|
||||
return () => {
|
||||
if (hideTimeoutRef.current) {
|
||||
clearTimeout(hideTimeoutRef.current)
|
||||
}
|
||||
window.electronAPI.stopWindowMove()
|
||||
}
|
||||
}, [])
|
||||
|
||||
// Keyboard shortcuts from main process
|
||||
useEffect(() => {
|
||||
const unsubs = [
|
||||
|
||||
Reference in New Issue
Block a user