mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 17:05:36 -04:00
[libcalamaresui] Reset font height when changing size
- defaultFontHeight() caches the result; clear cache when changing the default size, even though this happens only once in the current codebase.
This commit is contained in:
parent
bb5ac0326d
commit
97a45db4bf
1 changed files with 1 additions and 0 deletions
|
@ -239,6 +239,7 @@ void
|
||||||
setDefaultFontSize( int points )
|
setDefaultFontSize( int points )
|
||||||
{
|
{
|
||||||
s_defaultFontSize = points;
|
s_defaultFontSize = points;
|
||||||
|
s_defaultFontHeight = 0; // Recalculate on next call to defaultFontHeight()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue