Add extra pixel to titlebar on Windows 11

This commit is contained in:
Fedor Indutny 2022-06-15 11:21:03 -07:00 committed by GitHub
parent 4b8cb9f040
commit 8b32811440
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 139 additions and 53 deletions

View file

@ -15,6 +15,7 @@ export type PropsType = {
i18n: LocalizerType;
version: string;
platform: string;
isWindows11: boolean;
executeMenuRole: ExecuteMenuRoleType;
};
@ -24,6 +25,7 @@ export const About = ({
environment,
version,
platform,
isWindows11,
executeMenuRole,
}: PropsType): JSX.Element => {
useEscapeHandling(closeAbout);
@ -33,6 +35,7 @@ export const About = ({
return (
<TitleBarContainer
platform={platform}
isWindows11={isWindows11}
theme={theme}
executeMenuRole={executeMenuRole}
>