mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-23 04:46:08 -08:00
fix(overlay): restore mpv focus and pointer state on macOS (#104)
This commit is contained in:
1 parent
e1ea464bc9
commit
b510c54875
21 files changed
+373
-28
No files matched your search
@@ -219,6 +219,7 @@ export function createMainBootServices<
|
||||
params.getSyncOverlayVisibilityForModal()();
|
||||
},
|
||||
restoreMainWindowFocus: () => {
|
||||
if (params.platform === 'darwin') return;
|
||||
const mainWindow = overlayManager.getMainWindow();
|
||||
if (!mainWindow || mainWindow.isDestroyed() || !mainWindow.isVisible()) return;
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user