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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5420af701a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-07-09 (Mon, 09 Jul 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2012-07-09 15:00:08 +02:00
parent 70509708f7
commit 13119c0ee3

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);
}
}