Skip to content

Commit c0d9967

Browse files
committed
Merge branch 'new-recording-flow-list-view' of https://github.com/CapSoftware/cap into new-recording-flow-list-view
2 parents 9cbc80c + b735008 commit c0d9967

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • apps/desktop/src/routes/(window-chrome)/new-main

apps/desktop/src/routes/(window-chrome)/new-main/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,11 @@ function Page() {
377377
setWindowMenuOpen(false);
378378
windowTriggerRef?.focus();
379379

380-
await commands.focusWindow(target.id);
380+
try {
381+
await commands.focusWindow(target.id);
382+
} catch (error) {
383+
console.error("Failed to focus window:", error);
384+
}
381385
};
382386

383387
createEffect(() => {

0 commit comments

Comments
 (0)