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 clear-rect after recent position change #19

Merged
merged 2 commits into from
Nov 7, 2024
Merged

Conversation

Arcus92
Copy link
Owner

@Arcus92 Arcus92 commented Nov 7, 2024

The fix for #16 created a mismatch between the drawn image and the clearing-rect. This resulted in an issue where drawn subtitles weren't cleared on the next update, like issue #18.

This PR aligned the clearing-rect with the actual draw position of the image by ignoring the PGS window entirely and just use the composition position.

@Arcus92 Arcus92 linked an issue Nov 7, 2024 that may be closed by this pull request
@Arcus92 Arcus92 merged commit 9c06f0f into main Nov 7, 2024
1 check passed
@Arcus92 Arcus92 deleted the clear-rect-fix branch November 18, 2024 11:09
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.

Some areas of the ending song subtitles cannot be refreshed
1 participant