rhysd / neovim-component

<neovim-editor> WebComponent to embed Neovim to your app with great ease
https://github.com/rhysd/NyaoVim
MIT License
193 stars 18 forks source link

Device pixel ratio may change dynamically #18

Closed rhysd closed 8 years ago

rhysd commented 8 years ago

window.devicePixelRatio should be referenced on each rendering.

https://github.com/rhysd/NyaoVim/issues/23

rhysd commented 8 years ago

At least we should re-calculate width and height with window.devicePixelRatio at that time on redraw event.