Fixed a bug where userSettings[stateName] was treated as a string, leading to string concatenation instead of arithmetic addition when adjusting font sizes. For example, adding 1 to a font size of '9' resulted in '91' instead of 10. The solution implemented parses userSettings[stateName] as an integer before performing the addition.
Fixed a bug where
userSettings[stateName]
was treated as a string, leading to string concatenation instead of arithmetic addition when adjusting font sizes. For example, adding 1 to a font size of '9' resulted in '91' instead of 10. The solution implemented parsesuserSettings[stateName]
as an integer before performing the addition.