Skip to content

Fix generic blend text#51

Merged
willmcgugan merged 1 commit intoTextualize:mainfrom
DidierRLopes:fix-generic-blend-text
May 12, 2022
Merged

Fix generic blend text#51
willmcgugan merged 1 commit intoTextualize:mainfrom
DidierRLopes:fix-generic-blend-text

Conversation

@DidierRLopes
Copy link

:2X doesn't keep leading zeros, which means that if value was too close to 0, instead of having 00 we would have `` or instead of having 08 we would have ` 8`. This makes it so that the HEX code is incorrect.

This is minimal but was causing me troubles since my first color to blend has red 0. So hopefully it won't happen to anyone else 😄

Screenshot 2022-05-12 at 12 03 32

@willmcgugan
Copy link
Member

Danke

@willmcgugan willmcgugan merged commit 4910eef into Textualize:main May 12, 2022
@tusharsadhwani
Copy link

tusharsadhwani commented May 12, 2022

good call! python's string formatting needs a playground like what regex people have with regex101.com

maybe I'll build one of those *adds idea to pile of project ideas*

@DidierRLopes
Copy link
Author

good call! python's string formatting needs a playground like what regex people have with regex101.com

maybe I'll build one of those adds idea to pile of project ideas

Interactive python is my playground for simple string formatting stuff 😄

Screenshot 2022-05-12 at 13 49 39

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.

3 participants