Skip to content
Commit e878272b authored by Jin Liu's avatar Jin Liu Committed by Fushan Wen
Browse files

[applets/digitalclock] Fix font size change when migrating from 5.25

When migrating from 5.25, if custom font is set, the migration script
sets fontSize=10, which causes the look of digitalclock to change from
5.25 (where the font autosizes). And the default value of 10 can be too
small for some users.

So now this settings migration script sets fontSize=72 if custom font is
set in 5.25. For panels thinner than 72pt, this should retain 5.25's
autosize behavior.
cons:
1) Too late for users already upgraded to 5.26
2) The config dialog looks a bit strange with a very large sample text.

BUG: 460415
parent c2b452e9
Pipeline #252081 passed with stage
in 9 minutes and 30 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment