diff options
author | louis <louis.braun@gmx.de> | 2013-05-04 17:18:05 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-05-04 17:18:05 +0200 |
commit | 993bdf2ed543d832eebb1de158134223254dc8ee (patch) | |
tree | 81b8b7b98ff5ee3b4e31560cd768ed118e2d8af3 /menuitem.c | |
parent | 1bfdd7c81c641cc0e782b7bf360497b060a1d39b (diff) | |
download | skin-nopacity-993bdf2ed543d832eebb1de158134223254dc8ee.tar.gz skin-nopacity-993bdf2ed543d832eebb1de158134223254dc8ee.tar.bz2 |
Implemented workaround for VDR DrawEllipse bug
Diffstat (limited to 'menuitem.c')
-rw-r--r-- | menuitem.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -156,7 +156,8 @@ void cNopacityMenuItem::DoSleep(int duration) { void cNopacityMenuItem::DrawRoundedCorners(tColor borderColor) { int radius = config.cornerRadius; - + if (radius < 3) + return; pixmap->DrawEllipse(cRect(0,0,radius,radius), borderColor, -2); pixmap->DrawEllipse(cRect(-1,-1,radius,radius), clrTransparent, -2); |