Closed Mesoptier closed 5 years ago
Yes, there is a bug. I have fixed this bug in my local copy. Should I pull the fix ?
@alpha-and-omega yes please!!
here is the gist: https://gist.github.com/alpha-and-omega/2bafcc5ef77e81d3fd45ee82d2b5a236
@alpha-and-omega reckon you could submit a pull request with your edits? Would be great to have the fix in the official release
You are free to apply it without pull request.
I realise that, I'm more just thinking if it became official it could help more people instead of them having to look in the issues to find the fix and apply it themselves.
If you'd prefer I could open the pull request with your changes myself if you gave permission.
Yes, please create pull request.
Thanks, fixed in #37.
I am trying to fit a single line of text (
{ minFontSize: 16, maxFontSize: 30 }
). But the text is often smaller than it needs to be, and when I increase thefont-size
property by1px
it still fits in the container. The library seems to skip odd font-sizes for some reason.I suspect the binary search algorithm may be the problem.