Reapply font scaling after theme change (#4782)

This commit is contained in:
Gabi
2026-07-04 00:29:22 -05:00
committed by GitHub
parent 4ae3549b8a
commit 9fed8d1c4c
2 changed files with 8 additions and 0 deletions
@@ -74,6 +74,9 @@ function Invoke-WinUtilFontScaling {
}
}
# Store the scale factor so it can be reapplied after theme changes
$sync.FontScaleFactor = $ScaleFactor
# Update the font scaling percentage displayed on the UI
if ($sync.FontScalingValue) {
$percentage = [math]::Round($ScaleFactor * 100)