Open DariusHutchison opened 4 years ago
No problem. It was my first time working with typescript. Hope it isn't too bad.
Any update on the review?
Hey there!
See my latest commit with the new function getPrecision()
for #23 , and then look at the _maxWidth. There's some discussion in the issue #33 that I added about the struggles of having a monospace font. I think these are what these features were about.
For #23 , I think the ask is to change the precision from 9.54% to 9.5% or 10% (rounded up), whereas I think your change gives a leading 0 when you have <10%, so you'd have 09.54%, when I think they wanted the float part to be rounded.
I think I do need to add many of the documentation and some of the formatting things you added, though, still looking. Thanks, Nick
Hey there!
See my latest commit with the new function
getPrecision()
for #23 , and then look at the _maxWidth. There's some discussion in the issue #33 that I added about the struggles of having a monospace font. I think these are what these features were about.For #23 , I think the ask is to change the precision from 9.54% to 9.5% or 10% (rounded up), whereas I think your change gives a leading 0 when you have <10%, so you'd have 09.54%, when I think they wanted the float part to be rounded.
I think I do need to add many of the documentation and some of the formatting things you added, though, still looking. Thanks, Nick
Fair enough feel free to change how you need to and close if you think its better without merging, especially if a monospaced font fixes the issue with padding.
Thanks so much for working on this! I'll take a look this weekend.