Skip to content

Commit

Permalink
fix: small glitches (#325)
Browse files Browse the repository at this point in the history
## Motivation

<!-- List motivation and changes here -->

## Issues closed

<!-- List closed issues here -->
  • Loading branch information
pixelass authored May 28, 2024
1 parent 34c6b2b commit 5d9ba32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client/apps/shared/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ export function Code({
}}
/>
<IconButton
color="primary"
variant="soft"
aria-label={t("labels:copy")}
onClick={() => {
navigator.clipboard.writeText(code);
Expand Down
1 change: 1 addition & 0 deletions src/electron/helpers/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ export async function handleCoreAppWindow(
apps[appId]!.restore();
}

apps[appId]!.focus();
return apps[appId];
}

Expand Down

0 comments on commit 5d9ba32

Please sign in to comment.