detached scrapercontent in blackhole displaychannel

This commit is contained in:
louis 2015-05-14 06:53:46 +02:00
parent f33354ba5a
commit e9ab094e96
2 changed files with 4 additions and 1 deletions

View File

@ -244,7 +244,7 @@
{mediaheight} height of image in pixel {mediaheight} height of image in pixel
{isbanner} true if image is a banner, false if it is a poster {isbanner} true if image is a banner, false if it is a poster
--> -->
<scrapercontent> <scrapercontent detached="true" delay="0" fadetime="0" shifttime="{shifttimechannel}" shifttype="left" shiftmode="slowed">
<area condition="{showposter}++{isbanner}" x="1%" y="3%" width="{areaheight}*0.13*{mediawidth}/{mediaheight}" height="13%" layer="7"> <area condition="{showposter}++{isbanner}" x="1%" y="3%" width="{areaheight}*0.13*{mediawidth}/{mediaheight}" height="13%" layer="7">
<drawimage imagetype="image" path="{mediapath}" align="center" valign="center" width="{areawidth}" height="{areaheight}"/> <drawimage imagetype="image" path="{mediapath}" align="center" valign="center" width="{areawidth}" height="{areaheight}"/>
</area> </area>

View File

@ -187,6 +187,9 @@ void cView::ClearViewElement(eViewElement ve) {
if (detachedVE) { if (detachedVE) {
detachedVE->Clear(); detachedVE->Clear();
return; return;
} else {
if (DetachViewElement(ve))
return;
} }
cTemplateViewElement *viewElement = NULL; cTemplateViewElement *viewElement = NULL;
int currentAnimCat = ve; int currentAnimCat = ve;