facelessuser / ColorHelper

Sublime plugin that provides helpful color previews and tooltips
https://facelessuser.github.io/ColorHelper/
MIT License
256 stars 31 forks source link

Fix inline color phantom makes line height larger a little bit #122

Closed jfcherng closed 5 years ago

jfcherng commented 5 years ago

Not sure how to name this problem but I guess following GIFs speak themselves.

Tested with inline_preview_offset: 0, which is the default value.

Before PR:

before-fix

After PR:

after-fix


Users can use a negative inline_preview_offset to kinda fix the problem but I guess it makes sense to have inline_preview_offset: 0 not making the line height larger.

facelessuser commented 5 years ago

Looks good!