diff options
Diffstat (limited to 'lulua')
-rw-r--r-- | lulua/render.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lulua/render.py b/lulua/render.py index 93d197e..bc09e4c 100644 --- a/lulua/render.py +++ b/lulua/render.py @@ -107,7 +107,8 @@ class Renderer: gCap.add (self._drawMarker (btnWidth, btnPos)) highlight = self.keyHighlight.get (btn.name, 0) - gHighlight.add (self._drawHighlight (highlight, btnWidth, btnPos)) + if highlight > 0: + gHighlight.add (self._drawHighlight (highlight, btnWidth, btnPos)) l = self._drawLabel (buttonText, btnWidth, btnPos) if isModifier: |