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
26 changed files with 139 additions and 53 deletions

View File

@@ -103,6 +103,7 @@ export type PropsType = {
}
) => unknown;
platform: string;
isWindows11: boolean;
executeMenuRole: ExecuteMenuRoleType;
// Limited support features
@@ -229,6 +230,7 @@ export const Preferences = ({
isNotificationAttentionSupported,
isSyncSupported,
isSystemTraySupported,
isWindows11,
lastSyncTime,
makeSyncRequest,
notificationContent,
@@ -1027,6 +1029,7 @@ export const Preferences = ({
return (
<TitleBarContainer
platform={platform}
isWindows11={isWindows11}
theme={theme}
executeMenuRole={executeMenuRole}
>