menue.cpp:-fix OSD on corners switch (upper side)

This commit is contained in:
satbaby
2012-07-09 15:00:08 +02:00
parent b9648c8359
commit 5420af701a

View File

@@ -876,6 +876,8 @@ void CMenuWidget::paint()
corners = g_settings.rounded_corners;
if(!g_settings.rounded_corners){
frameBuffer->paintBackgroundBoxRel(x, y+full_height-hint_height, full_width, CORNER_RADIUS_LARGE-2+SHADOW_OFFSET);
}else{
frameBuffer->paintBackgroundBoxRel(x, y, full_width, CORNER_RADIUS_LARGE-2+SHADOW_OFFSET);
}
}