-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Resizable Game Window #381
Conversation
Behaviour change: In Honkai: Star Rail Game Settings, the "Custom Resolution" feature can only be used if "Resizable Window" feature is enabled.
Qodana for .NET180 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at [email protected]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question regarding double invoke for the _Settings optimization
+ Fix Hook does not go disposed/cancelled while game is stopped earlier + [EncTool] Fix throw while cancelling Hook routine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks all good to me!
What's new?
This PR brings the "Resizable Window" which enables the Game Window to be resizable. This feature could only work on Windowed mode (not including borderless).
This feature works by using Win32 functions by manipulating the game window's
GWL_STYLE
flag.https://learn.microsoft.com/en-us/windows/win32/winmsg/window-styles
Behavior Changes
For Honkai: Star Rail
"Use Custom Resolution" mode can only be used with "Resizable Window" enabled. If the "Resizable Window" is disabled, the checkbox for "Use Custom Resolution" will be disabled.
Feature Preview
2024-01-27.17-29-21.mp4