Add a slight timeout to update the fontSmoothing pref (#407)
Add a slight timeout to update the fontSmoothing pref (#407)

This seems like a bug with chrome/electron where the devicePixelRatio
value doesn't update right away. It's probably in the event loop, so
adding a short timeout should solve this problem.
bekher/hyperterm,ppot/hyper,MartyGentillon/hyper,whitelynx/hyperterm,zeit/hyperterm,wilsontayar/hyper,mike-engel/hyperterm,zeit/hyper,whitelynx/hyperterm,bekher/hyperterm,reslaurentii/hyper,ekmartin/hyperterm,stefanivic/hyper,reslaurentii/hyper,martinvd/hyper,wilsontayar/hyper,martinvd/hyper,zeit/hyper,mike-engel/hyperterm,derrickpelletier/hyper,chabou/hyper,KunalKene1797/hyper,zeit/hyper,zeit/hyperterm,ekmartin/hyperterm,rickycodes/hyper,zeit/hyper,ppot/hyper,rickycodes/hyper,MartyGentillon/hyper,AlmirKadric/hyperterm,stefanivic/hyper,AlmirKadric/hyperterm,ppot/hyper,spncrgr/hyper,chabou/hyper,spncrgr/hyper,derrickpelletier/hyper,KunalKene1797/hyper,chabou/hyper