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

Bugfix for #1595 / Annotation Data is inconsistent between Preview Player and Playlist Player #1638

Merged
merged 5 commits into from
Dec 30, 2024

Conversation

tetsuoanimation
Copy link
Contributor

Problem
Annotation frame number was off by one frame when saving from PreviewPlayer.vue compared to player.js

This is due to the annotation.js mixins calling it's parents getCurrentFrame() function. This is implemented differently in player.js and PreviewPlayer.vue and thus returning different numbers.

Solution
Adapt getCurrentFrame() function in PreviewPlayer.vue to return the same number as the one in player.js

Limitation
player.js still returns a padded string as the framenumber whereas this patch returns an int.

Overall this might be a simplified patch - it would probably be better to align the two functions but I am not sure what else that might break.

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