We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getLabelFont()
The lazy initialization of the font is dependent on touchUpFlag and thus it's either .thin or .regular but not changing as it is intended.
touchUpFlag
fileprivate func getLabelFont() -> UIFont { if labelFont != nil { return labelFont! } let width = bounds.width let height = bounds.height let radius = min(width, height) / 2 return UIFont.systemFont(ofSize: radius * fontSizeRatio, weight: touchUpFlag ? UIFont.Weight.thin : UIFont.Weight.regular) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The lazy initialization of the font is dependent on
touchUpFlag
and thus it's either .thin or .regular but not changing as it is intended.The text was updated successfully, but these errors were encountered: