]> git.gir.st - VimFx.git/commit
Fix z-index for hint markers
authorSimon Lydell <simon.lydell@gmail.com>
Sun, 2 Oct 2016 07:17:06 +0000 (09:17 +0200)
committerSimon Lydell <simon.lydell@gmail.com>
Sun, 2 Oct 2016 07:17:06 +0000 (09:17 +0200)
commit8c7a33474c7a2e9ea431a816107edba083217238
tree47091e891fd36fb53b68079c4b7818a41c8ec02b
parent86e29f0c03fe98eaabb996212b38250c414de375
Fix z-index for hint markers

The hint markers are sorted by element area before assigning their
`z-index`es. This is so that the hint markers of larger elements appear
on top of hint markers for smaller elements. However,
`marker.wrapper.area` (which is `undefined`) was accidentally used
instead of `marker.wrapper.shape.area`. This caused the sorting to
essentially do nothing (since Firefox's `.sort` is stable).
extension/lib/marker-container.coffee
Imprint / Impressum