steelbrain / intentions-numbers

A package that allows you to hold numbers in text editor and increase/decrease them on mouse move
MIT License
1 stars 0 forks source link

Underline numbers #8

Closed steelbrain closed 8 years ago

steelbrain commented 8 years ago

For visual ease

steelbrain commented 8 years ago

If we do this, we'll have to hard-code the font-size therefore it might not work for people with bigger font sizes. Should we or should we not?

Ideas @natew @ncammarata

ncammarata commented 8 years ago

how about bolding the numbers?

steelbrain commented 8 years ago

Currently, we add an overlay with opacity of zero above the number with the same contents as the number, so it has the same height and width. If we want to change the contents of that overlay, we'll have to make it visible and by doing so we'll have to manually calculate the width of it. It's very simple to do so, but I'm not sure how to make it work with font-size changes