Mercurial > hg > svgui
changeset 984:e8949ccb4f4e osx-retina
Fix dark point at highlight of LED button
author | Chris Cannam |
---|---|
date | Tue, 30 Jun 2015 15:06:47 +0100 |
parents | 04337eb34f23 |
children | 3f7cdfc56dce |
files | widgets/LEDButton.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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.