Skip to content

Commit

Permalink
For mozilla-mobile#8735 - Adjust fontInflation engine setting when to…
Browse files Browse the repository at this point in the history
…ggling useAutoSize
  • Loading branch information
ekager authored and mcarare committed Apr 21, 2020
1 parent c702de0 commit f3847d0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class AccessibilityFragment : PreferenceFragmentCompat() {
// Save the new setting value
settings.shouldUseAutoSize = useAutoSize
components.core.engine.settings.automaticFontSizeAdjustment = useAutoSize
components.core.engine.settings.fontInflationEnabled = useAutoSize

// If using manual sizing, update the engine settings with the local saved setting
if (!useAutoSize) {
Expand Down

0 comments on commit f3847d0

Please sign in to comment.