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 unexpected interactions of text tool #1176

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

TheodorLasse
Copy link
Contributor

Fixes #1097

Moved the color objects used for drawing text to the CurrentTextEngine and then only updating those colors when the color palette changes while the text tool is selected.

Removed FinalizeText on surface cloning. This seems to be the code that caused finalizations of text when using another tool. The text seems to finalize properly now, but I am not completely sure why the code was there to begin with, so this might have subtly broke something.

@cameronwhite
Copy link
Member

Thanks for looking at this!
I'm not sure that removing that finalization code is correct - in the video below, you can see that if the text isn't finalized when you start drawing with the brush tool, then the text is overlaid on top of the brush stroke as if it were another layer

finalize_issue.mp4

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.

Palatte color changes interacts with text tool in unexpected ways
2 participants