summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-03-22 13:24:52 +0100
committerlouis <louis.braun@gmx.de>2015-03-22 13:24:52 +0100
commit7a0e0b11ae0113591065a46765fdec333e2e9956 (patch)
tree8408136adf5ee843bc4a93e1e4d7cba2ba80943b /skins
parent03f3789ee9c02aac7b5c326d7abd02d271bbcddd (diff)
downloadvdr-plugin-skindesigner-7a0e0b11ae0113591065a46765fdec333e2e9956.tar.gz
vdr-plugin-skindesigner-7a0e0b11ae0113591065a46765fdec333e2e9956.tar.bz2
fixed crash in drawing devices
Diffstat (limited to 'skins')
-rw-r--r--skins/metrixhd/xmlfiles/displaychannel.xml6
-rw-r--r--skins/metrixhd/xmlfiles/displaymenumain.xml2
2 files changed, 4 insertions, 4 deletions
diff --git a/skins/metrixhd/xmlfiles/displaychannel.xml b/skins/metrixhd/xmlfiles/displaychannel.xml
index 3c63a18..1628106 100644
--- a/skins/metrixhd/xmlfiles/displaychannel.xml
+++ b/skins/metrixhd/xmlfiles/displaychannel.xml
@@ -196,11 +196,11 @@
{devices[channelid]} ID of the currently tuned channel
{devices[source]} source of the currently tuned channel
-->
- <devices>
- <area condition="{showdevices}" x="70%" y="30%" width="30%" height="{areaheight}/12 * {numdevices}" layer="1">
+ <devices condition="{showdevices}" >
+ <area x="70%" y="30%" width="30%" height="{areaheight}/12 * {numdevices}" layer="1">
<fill color="{clrTransBlack}"/>
</area>
- <area condition="{showdevices}" x="70%" y="30%" width="30%" height="{areaheight}/12 * {numdevices}" layer="2">
+ <area x="70%" y="30%" width="30%" height="{areaheight}/12 * {numdevices}" layer="2">
<loop name="devices" x="0" y="0" orientation="vertical" columnwidth="{areawidth}" rowheight="{areaheight} / {numdevices}" overflow="cut">
<drawtext name="label" x="5" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{clrWhite}" text="{devices[num]}: {devices[type]}" />
<drawtext condition="{devices[hascam]}" x="{width(label)} + 15" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{clrWhite}" text="(CAM {devices[cam]})" />
diff --git a/skins/metrixhd/xmlfiles/displaymenumain.xml b/skins/metrixhd/xmlfiles/displaymenumain.xml
index ef588a6..077c0b1 100644
--- a/skins/metrixhd/xmlfiles/displaymenumain.xml
+++ b/skins/metrixhd/xmlfiles/displaymenumain.xml
@@ -240,7 +240,7 @@
{devices[channelid]} ID of the currently tuned channel
{devices[source]} source of the currently tuned channel
-->
- <devices>
+ <devices condition="{showdevices}">
<area x="75%" y="48%" width="25%" height="{areaheight}/12 * {numdevices}" layer="1">
<fill color="{clrTransBlack}"/>
</area>