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

Allocate correct bytecount when serializing #944

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

byronholldorf
Copy link

The size of buffer calculated for serializing data was not accounting for hidden frame data. This would cause the buffer to overflow and the bottoms of images to sometimes be truncated when using undo. Changed calculateRequiredBytes to match what's used the serialize function.

This should fix: #889, #893, #925

The size of buffer calculated for serializing data was not accounting
for hidden frame data. This would cause the bottoms of images to
sometimes be truncated when using undo.
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.

Undo re-toggles the preview for all frames
1 participant