]> git.gir.st - VimFx.git/commit
Improve hint marker positioning
authorSimon Lydell <simon.lydell@gmail.com>
Sun, 6 Nov 2016 09:33:51 +0000 (10:33 +0100)
committerSimon Lydell <simon.lydell@gmail.com>
Sun, 6 Nov 2016 10:27:28 +0000 (11:27 +0100)
commit1840f5b15218c7ffdf592f2020bd6731be199e12
tree9c24d55720ce9c40683ca3fd9448db2cc0d454ef
parentdaf67a4d4229198bd642c44a5672f4feea8ad467
Improve hint marker positioning

A pixel up, down, left or right _is_ visible. Using `Math.round` goes to
the most expected pixel. Previously, markers many times appeared to be
slightly too close to the top of elements, rather than at the center.
extension/lib/markable-elements.coffee
extension/lib/marker.coffee
Imprint / Impressum