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

Corrected accessibility text scaling #1259

Merged
merged 2 commits into from
May 16, 2023

Conversation

arjanmels
Copy link
Contributor

Switched to Text.rich form RichText to have textscalefactor applied.
However textscalefactor is applied on each Text.rich recursively, so only apply it to toplevel.

Copy link
Owner

@Sub6Resources Sub6Resources left a comment

Choose a reason for hiding this comment

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

There are a lot of whitespace changes here. I'm assuming this is because you have your formatter's line width set off of the default. Could you reformat the code with the default dart line width using dart format with the --line-length=80 tag set?

The line width of 80 is an ongoing debate: dart-lang/dart_style#833, but flutter_html is just using the current standard (however frustrating it may be).

@arjanmels
Copy link
Contributor Author

Sorry for messing up the formatting, should be ok now.

@Sub6Resources Sub6Resources merged commit 6a83e45 into Sub6Resources:master May 16, 2023
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.

2 participants