Fixed maximized window rendering bug

This commit is contained in:
Prozilla 2023-12-30 11:29:19 +01:00
parent f31af47802
commit e970156482
No known key found for this signature in database
GPG key ID: 5858DFE71CAF31EE
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
<g mask="url(#mask0_4_26)">
<path d="M59.1521 108C54.1521 88 85.1521 46 56.652 42.5C28.152 39 3.65204 73.5 8.65204 117C13.652 160.5 59.152 199 104.152 196.5C149.152 194 189.652 162.5 191.152 110C192.652 57.5 151.152 22.5 130.652 4C124.152 12 111.152 30.5 118.152 56C125.152 81.5 144.652 83 144.652 101C144.652 119 132.652 145 107.152 148C81.6519 151 64.1521 128 59.1521 108Z" fill="#FECA57"/>
<g filter="url(#filter0_d_4_26)">
<circle cx="100" cy="100" r="53" fill="#54A0FF"/>
<circle cx="100" cy="100" r="53" fill="#2E86DE"/>
</g>
</g>
<defs>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -126,7 +126,7 @@ export const WindowView = memo(({ id, app, size, position, onInteract, options,
if (minimized)
classNames.push(styles.Minimized);
return (<div style={{ zIndex, position: "relative" }}>
return (<div style={{ zIndex, position: !maximized ? "relative" : null }}>
<ShortcutsListener/>
<ModalsView modalsManager={modalsManager} modals={modals} style={{ zIndex: 1 }}/>
<Draggable