Skip to content

Commit c0a4e9a

Browse files
committed
(v0.1.4.3(1)-alpha) Bug Report & Fix
Fixes: Closing on fullscreen saves the state. On the opening again it starts in fullscreen.
1 parent a6666b6 commit c0a4e9a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ Your PC has been compromised by a group called the "HackClub". Can you regain co
1919
- [X] New apps (not pinned in the taskbar) should be shown in taskbar when opened. (Done in v0.1.4.3)
2020
- [X] Animation when popping up new items in the taskbar. (Done in v0.1.4.3)
2121
- [X] Make ~~opaque and~~ high zIndex when dragging desktop apps, to overlay the bottom objects. (Done in v0.1.4.3)
22-
- [X] BUG: In fullscreen clicking the app in taskbar toggles fullscreen, and it becomes not fullscreen. (Done in v0.1.4.3)
22+
- [X] BUG: In fullscreen clicking the app in taskbar toggles fullscreen, and it becomes not fullscreen. (Fixed in v0.1.4.3)
23+
- [X] BUG: Closing on fullscreen saves the state. On the opening again it starts in fullscreen. (Fixed in v0.1.4.3(1))

src/routes/desktop.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,12 @@ function Desktop() {
126126
setFocussed(null);
127127
setApps(prev => ({
128128
...prev,
129-
[name]: { ...prev[name], isOpen: false, minimized: true }
129+
[name]: {
130+
...prev[name],
131+
isOpen: false,
132+
fullscreen: false,
133+
minimized: true
134+
}
130135
}));
131136
}
132137

0 commit comments

Comments
 (0)