Skip to content

Placeholder doesn't have correct proportions when drawing the first time #1028

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

Merged
merged 8 commits into from
Mar 2, 2023

Conversation

planarvoid
Copy link
Contributor

Fix

When implementing a placeholder in the Day One repo I've discovered that the width used when building placeholder drawable is incorrect because it doesn't take into account the editor padding and the arbitrary 20 px that's used when drawing placeholders.

Review

@[USER_NAME]

Make sure strings will be translated:

  • If there are new strings that have to be translated, I have added them to the client's strings.xml as a part of the integration PR.

@planarvoid planarvoid added the bug label Feb 3, 2023
Copy link
Contributor

@danilo04 danilo04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes. It worked in the clients.

@danilo04 danilo04 merged commit b94299d into trunk Mar 2, 2023
@danilo04 danilo04 deleted the fix/redrawing-of-placeholder branch March 2, 2023 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants