fix VU, fix window parenting

This commit is contained in:
Boof2015
2026-03-28 00:58:44 -04:00
parent fd9eb3da18
commit 5dc68a5f8f
7 changed files with 386 additions and 101 deletions
+9
View File
@@ -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 = [