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

TextAnimations.Wait creates visible empty box #7

Open
BNNorman opened this issue Feb 19, 2018 · 2 comments
Open

TextAnimations.Wait creates visible empty box #7

BNNorman opened this issue Feb 19, 2018 · 2 comments

Comments

@BNNorman
Copy link
Owner

This happens because the class TextAnimBase is expecting a Text() object so it creates an empty buffer at 0,0.

Changes are required to the code to make this work as expected. Currently, if you supply a Text() object to the TextAnimation.Wait animation the text will/should appear in the specified location for the duration of the Wait.

Workaround: use ImageAnimations.Wait instead.

@BNNorman
Copy link
Owner Author

This was caused by a fault in the transparency rendering whereby the box was solid black and not transparent black. However since TextAnimations.Wait() subclasses TextAnimBase.py it requires a dummy text object otherwise it throws a wobbly.

Continue to use ImageAnimations.Wait() until I re-write TextAnimBase to fix the code expecting a fontSize etc when text=None.

@ValDY69
Copy link

ValDY69 commented Mar 13, 2018

Ok brian i understand thank you

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

No branches or pull requests

2 participants