Skip to content
New issue

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

Doesn't work for number #1

Open
infoenum-testing opened this issue Aug 14, 2023 · 1 comment
Open

Doesn't work for number #1

infoenum-testing opened this issue Aug 14, 2023 · 1 comment

Comments

@infoenum-testing
Copy link

It doesn't correctly work for numbers.
For 02 it shows it like this:
IMG_A8E549112B07-1

@lidorf-gurushots
Copy link

i think there is an issue with the implementation.
try to override the intrinsicContentSize like so:

 override var intrinsicContentSize: CGSize {
        let superSize = super.intrinsicContentSize
        let addition = outlineWidth
        return CGSize(width: superSize.width + addition, height: superSize.height + addition)
    }

Hope you find it useful, Good luck!
Lidor Fadida.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants