]> git.gir.st - VimFx.git/commit
Fix misplaced hint markers when zoomed
authorSimon Lydell <simon.lydell@gmail.com>
Tue, 12 Jan 2016 08:13:55 +0000 (09:13 +0100)
committerSimon Lydell <simon.lydell@gmail.com>
Fri, 15 Jan 2016 07:57:53 +0000 (08:57 +0100)
commitfc52829da855da4d3b717bf4c9cd855302210712
tree3310972e981ca274e2bb90c88d394ebc48540c45
parent7d5fbda390cf3acfff229fccf6b6a7d00eb81419
Fix misplaced hint markers when zoomed

Hint markers are supposed to be centered vertically on the non-covered point.
This didn't work properly when zoomed, but now does. For simplicity, that fix
removed the "make sure the marker stays within its element" constraint, which
turned out to be nice and more consistent. The hint markers are now _always_
centered vertically on the non-covered point, even for very small links.

This commit also fixes hint marker placement in the devtools when the devtools
have been independently zoomed. The above issue needed to be fixed before this
could be fixed. Fixes #667.
extension/lib/hints.coffee
extension/lib/marker.coffee
extension/lib/modes.coffee
Imprint / Impressum