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

Text Updating #2

Open
FoamyGuy opened this issue Feb 20, 2025 · 0 comments
Open

Text Updating #2

FoamyGuy opened this issue Feb 20, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@FoamyGuy
Copy link
Contributor

Right now the EmojiLabel class gets initialized with the desired text and does not contain any mechanism for updating it.

The rendering logic can be broken out to an internal function called by init, and then be called from a text property setter as well.

An offshoot of this might be some kind of internal Bitmap cache that can store the recently used images so they can be re-used without having to read the file and load it again. Maybe the user could enable / disable it and use it when it makes sense for a given project based on repeated characters or emoji appearing in the text they are using vs. always being different.

@FoamyGuy FoamyGuy added the enhancement New feature or request label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant