Add extra pixel to titlebar on Windows 11
This commit is contained in:
parent
4b8cb9f040
commit
8b32811440
26 changed files with 139 additions and 53 deletions
|
@ -32,6 +32,7 @@ export type PropsType = {
|
|||
fetchLogs: () => Promise<string>;
|
||||
uploadLogs: (logs: string) => Promise<string>;
|
||||
platform: string;
|
||||
isWindows11: boolean;
|
||||
executeMenuRole: ExecuteMenuRoleType;
|
||||
};
|
||||
|
||||
|
@ -48,6 +49,7 @@ export const DebugLogWindow = ({
|
|||
fetchLogs,
|
||||
uploadLogs,
|
||||
platform,
|
||||
isWindows11,
|
||||
executeMenuRole,
|
||||
}: PropsType): JSX.Element => {
|
||||
const [loadState, setLoadState] = useState<LoadState>(LoadState.NotStarted);
|
||||
|
@ -146,6 +148,7 @@ export const DebugLogWindow = ({
|
|||
return (
|
||||
<TitleBarContainer
|
||||
platform={platform}
|
||||
isWindows11={isWindows11}
|
||||
theme={theme}
|
||||
executeMenuRole={executeMenuRole}
|
||||
>
|
||||
|
@ -189,6 +192,7 @@ export const DebugLogWindow = ({
|
|||
return (
|
||||
<TitleBarContainer
|
||||
platform={platform}
|
||||
isWindows11={isWindows11}
|
||||
theme={theme}
|
||||
executeMenuRole={executeMenuRole}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue