Change font and position to match trickplay. Fix double trickplay bar
This commit is contained in:
parent
3ccf9167b5
commit
8f7b5f8054
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<component name="PauseMenu" extends="Group" initialFocus="chapterNext">
|
<component name="PauseMenu" extends="Group" initialFocus="chapterNext">
|
||||||
<children>
|
<children>
|
||||||
<Label id="itemTitle" font="font:LargeBoldSystemFont" translation="[103,61]" />
|
<ScrollingLabel id="itemTitle" font="font:LargeBoldSystemFont" translation="[103,61]" maxWidth="1400" />
|
||||||
<Clock id="clock" translation="[1618, 46]" />
|
<Clock id="clock" translation="[1618, 46]" />
|
||||||
|
|
||||||
<ButtonGroup id="optionControls" itemSpacings="[20]" layoutDirection="horiz" horizAlignment="left" translation="[103,120]">
|
<ButtonGroup id="optionControls" itemSpacings="[20]" layoutDirection="horiz" horizAlignment="left" translation="[103,120]">
|
||||||
|
@ -16,12 +16,12 @@
|
||||||
<IconButton id="chapterNext" background="#070707" focusBackground="#00a4dc" padding="16" icon="pkg:/images/icons/nextChapter.png" height="65" width="100" />
|
<IconButton id="chapterNext" background="#070707" focusBackground="#00a4dc" padding="16" icon="pkg:/images/icons/nextChapter.png" height="65" width="100" />
|
||||||
</ButtonGroup>
|
</ButtonGroup>
|
||||||
|
|
||||||
<Rectangle id="progressBarBackground" color="0x00000098" width="1536" height="8" translation="[192,970]">
|
<Rectangle id="progressBarBackground" color="0x00000098" width="1714" height="8" translation="[103,970]">
|
||||||
<Rectangle id="progressBar" color="#e5e4e2FF" width="0" height="8" />
|
<Rectangle id="progressBar" color="#e5e4e2FF" width="0" height="8" />
|
||||||
</Rectangle>
|
</Rectangle>
|
||||||
|
|
||||||
<Label id="videoPositionTime" font="font:SmallestSystemFont" color="0xffffffFF" translation="[192,985]" />
|
<Label id="videoPositionTime" font="font:MediumSystemFont" color="0xffffffFF" translation="[103,985]" />
|
||||||
<Label id="videoRemainingTime" font="font:SmallestSystemFont" color="0xffffffFF" horizAlign="right" width="200" translation="[1528,985]" />
|
<Label id="videoRemainingTime" font="font:MediumSystemFont" color="0xffffffFF" horizAlign="right" width="200" translation="[1617,985]" />
|
||||||
|
|
||||||
<Timer id="inactivityTimer" duration="1" repeat="true" />
|
<Timer id="inactivityTimer" duration="1" repeat="true" />
|
||||||
</children>
|
</children>
|
||||||
|
|
|
@ -618,7 +618,7 @@ function onKeyEvent(key as string, press as boolean) as boolean
|
||||||
|
|
||||||
if not press then return false
|
if not press then return false
|
||||||
|
|
||||||
if key = "down"
|
if key = "down" and not m.top.trickPlayBar.visible
|
||||||
if not m.LoadMetaDataTask.isIntro
|
if not m.LoadMetaDataTask.isIntro
|
||||||
m.pauseMenu.visible = true
|
m.pauseMenu.visible = true
|
||||||
m.pauseMenu.hasFocus = true
|
m.pauseMenu.hasFocus = true
|
||||||
|
@ -626,7 +626,7 @@ function onKeyEvent(key as string, press as boolean) as boolean
|
||||||
return true
|
return true
|
||||||
end if
|
end if
|
||||||
|
|
||||||
else if key = "up"
|
else if key = "up" and not m.top.trickPlayBar.visible
|
||||||
if not m.LoadMetaDataTask.isIntro
|
if not m.LoadMetaDataTask.isIntro
|
||||||
m.pauseMenu.visible = true
|
m.pauseMenu.visible = true
|
||||||
m.pauseMenu.hasFocus = true
|
m.pauseMenu.hasFocus = true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user