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

Origin commit data
------------------
Commit: 5420af701a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-07-09 (Mon, 09 Jul 2012)
This commit is contained in:
Jacek Jendrzej
2012-07-09 15:00:08 +02:00
parent 02f5101cc4
commit ccdc79dc6a

View File

@@ -876,6 +876,8 @@ void CMenuWidget::paint()
corners = g_settings.rounded_corners; corners = g_settings.rounded_corners;
if(!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); 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);
} }
} }