]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Painter.C
Fix bug 3101 and 3108
[lyx.git] / src / frontends / Painter.C
index 3f330ea30da1004c863a55346789ca5ab9e304a2..e893aafdbb5bf0c6004ef3cf692e147fb1d25140 100644 (file)
@@ -80,10 +80,7 @@ void Painter::buttonText(int x, int y, docstring const & str,
        fm.buttonText(str, width, ascent, descent);
 
        button(x, y - ascent, width, descent + ascent, mouseHover);
-       if (mouseHover)
-               text(x + 4, y, str, font);
-       else
-               text(x + 3, y - 1, str, font);
+       text(x + 3, y - 1, str, font);
 }