Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Added a blocking layer to prevent interaction with the game while in the exit menu #2574

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
date: 2024-12-31

title: Added a blocking layer to prevent interaction with the control bar while in the exit menu

changes:
- fix: Adds a blocking layer with 100% transparency to prevent interaction with the game while in the exit menu.
- tweak: Improves the interaction behavior of the exit menu by adding a transparent blocking layer.

labels:
- fix
- gui
- v1.0

links:
- https://github.com/TheSuperHackers/GeneralsGamePatch/pull/2574

authors:
- DevGeniusCode
25 changes: 25 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/INI/WindowTransitions.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2258,6 +2258,12 @@ WindowTransition QuitNoSave

Window
WinName = QuitNoSave.wnd:QuitMenuParent
Style = WINFADE
FrameDelay = 0
END

Window
WinName = QuitNoSave.wnd:MenuBox
Style = FLASH
FrameDelay = 0
END
Expand Down Expand Up @@ -2292,9 +2298,16 @@ WindowTransition QuitNoSaveBack

Window
WinName = QuitNoSave.wnd:QuitMenuParent
Style = WINFADE
FrameDelay = 0
END

Window
WinName = QuitNoSave.wnd:MenuBox
Style = FLASH
FrameDelay = 0
END

Window
WinName = MainMenu.wnd:MapBorder2
Style = REVERSESOUND
Expand Down Expand Up @@ -2330,6 +2343,12 @@ WindowTransition QuitFull

Window
WinName = QuitMenu.wnd:QuitMenuParent
Style = WINFADE
FrameDelay = 0
END

Window
WinName = QuitMenu.wnd:MenuBox
Style = FLASH
FrameDelay = 0
END
Expand Down Expand Up @@ -2371,6 +2390,12 @@ WindowTransition QuitFullBack

Window
WinName = QuitMenu.wnd:QuitMenuParent
Style = WINFADE
FrameDelay = 0
END

Window
WinName = QuitMenu.wnd:MenuBox
Style = FLASH
FrameDelay = 0
END
Expand Down
Loading