Keep custom titlebar in full screen mode

This commit is contained in:
Fedor Indutny 2022-09-20 16:56:01 -07:00 committed by GitHub
parent e0ae5fc27c
commit 249f5c37fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -260,7 +260,6 @@ export const TitleBarContainer = (props: PropsType): JSX.Element => {
<div className="TitleBarContainer__padding" />
<div className="TitleBarContainer__content">{children}</div>
{!isFullScreen ? (
<TitleBar
className="TitleBarContainer__title"
platform="win32"
@ -271,7 +270,6 @@ export const TitleBarContainer = (props: PropsType): JSX.Element => {
onDoubleClick={titleBarDoubleClick}
hideControls
/>
) : null}
</div>
);
};