mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
menue.cpp:-fix OSD on corners switch (upper side)
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user