# HG changeset patch # User Chris Cannam # Date 1435673207 -3600 # Node ID e8949ccb4f4e135abb0941be1b7e73e3afb0c1cd # Parent 04337eb34f23799636755ec17567cadfe88b7467 Fix dark point at highlight of LED button diff -r 04337eb34f23 -r e8949ccb4f4e widgets/LEDButton.cpp --- a/widgets/LEDButton.cpp Tue Jun 30 15:00:23 2015 +0100 +++ b/widgets/LEDButton.cpp Tue Jun 30 15:06:47 2015 +0100 @@ -174,6 +174,8 @@ pos++; light_width--; } + paint.drawPoint(pos, pos); + // Drawing of bright spot finished, now draw a thin border // around the LED which resembles a shadow with light coming // from the upper left.