Increase z-index of active hint label.
authorDaniel Carl <danielcarl@gmx.de>
Thu, 19 Dec 2013 00:08:24 +0000 (01:08 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 19 Dec 2013 00:08:24 +0000 (01:08 +0100)
This allows to see the label while stepping though the hints via <Tab> event
if hint label overlaps each other.

src/hints.js

index 4b06b23..2e37127 100644 (file)
@@ -35,6 +35,8 @@ var VbHint = (function(){
             "background-color:#8f0 !important" +
             "}" +
             "." + lClass + "." + fClass + "{" +
+            /* use higher z-index to show the active label if it's overlapped by other labels */
+            "z-index:100001;" +
             "opacity:1" +
             "}";