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

Several Bugfixes/Improvements for Fixed Window Size Feature #398

Merged

Conversation

drothmaler
Copy link
Contributor

What does this implement/fix? Explain your changes

Reworked the Fixed Window Size Implementation to better integrate with the existing window positioning logic. This also fixes an issue that caused the need of a restart when switching back to Full-Screen mode.
This basically reverts most of the changes done to the MediaWindowViewModel In #394 and places the (now much simpler) logic into the MediaWindowPositionHelper instead.

Also added some validating/limiting logic to the window size settings.

Does this close any currently open issues?

#396 #397

Any other comments?

If you prefer, I could also split the PR in two.

…Helper

This is a much better place for the implementation, as it integrates with the existing window placement logic.
It also fixes a bug that made it necessary to restart the app when switching back to Full-Screen mode
@AntonyCorbett AntonyCorbett merged commit 9acf199 into AntonyCorbett:master Aug 5, 2021
@drothmaler drothmaler deleted the feature/fixed-window-size branch August 7, 2021 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants