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 off-center window under TTF, add "Video/Center window" menu item #5098

Merged
merged 4 commits into from
Jul 4, 2024

Conversation

aybe
Copy link
Collaborator

@aybe aybe commented Jul 4, 2024

What issue(s) does this PR address?

When launching the configuration tool while in TTF output, the window would be incorrectly centered like this:

image

This is because there's a switch to 'surface' and then 'TTF' adjusts itself to top/left of 'surface' which obviously is wrong.

So, not only it isn't centered anymore but it's also off-screen.

A very simple fix that improves user experience as that was pretty annoying.

Does this PR introduce new feature(s)?

Added menu "Video/Center window", makes one's life easier when wanting to do so.

aybe and others added 4 commits July 4, 2024 21:42
The brief switch to surface makes TTF window positioning/scaling wrong, i.e. from previous mode top/left coordinates. This resulted in an off-screen/center window.
Makes one's life much simpler now.
@joncampbell123 joncampbell123 merged commit b0a5616 into joncampbell123:master Jul 4, 2024
18 checks passed
@aybe aybe deleted the video-fixes branch July 5, 2024 02:01
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