Skip to content

Commit

Permalink
[Video OSD] hide seekbar when slider dialog is visible (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
beatmasterRS authored Jul 17, 2023
1 parent f130f53 commit ba3c12c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
9 changes: 6 additions & 3 deletions 1080i/DialogSeekBar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@
<visible>[[VideoPlayer.IsFullscreen] + [Window.IsVisible(videoosd) | Window.IsVisible(fullscreeninfo) | Player.Seeking | Player.HasPerformedSeek(3) | Player.Paused | !String.IsEmpty(Player.SeekNumeric) | !String.IsEmpty(PVR.ChannelNumberInput) | Player.Forwarding | Player.Rewinding | Player.ShowInfo | !String.IsEmpty(Window(home).Property(osdshowinfo))]] | !String.IsEmpty(Window(home).Property(osdinfo))</visible>
<zorder>0</zorder>
<controls>
<include condition="!Skin.HasSetting(osd.usethemeNewOSD) + !Skin.HasSetting(osd.usethemeNewOSDSide)">Seekbar1</include>
<include condition="Skin.HasSetting(osd.usethemeNewOSD)">Seekbar2</include>
<include condition="Skin.HasSetting(osd.usethemeNewOSDSide)">Seekbar3</include>
<control type="group">
<animation effect="fade" start="100" end="0" time="250" condition="Window.IsVisible(DialogSlider.xml)">Conditional</animation>
<include condition="!Skin.HasSetting(osd.usethemeNewOSD) + !Skin.HasSetting(osd.usethemeNewOSDSide)">Seekbar1</include>
<include condition="Skin.HasSetting(osd.usethemeNewOSD)">Seekbar2</include>
<include condition="Skin.HasSetting(osd.usethemeNewOSDSide)">Seekbar3</include>
</control>
<include>ChannelNumberInput</include>

<!-- Clock -->
Expand Down
10 changes: 6 additions & 4 deletions 1080i/VideoOSD.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
<onunload>ClearProperty(dontautoclose,home)</onunload>

<controls>
<include condition="!Skin.HasSetting(osd.usethemeNewOSD) + !Skin.HasSetting(osd.usethemeNewOSDSide)">OSD1</include>
<include condition="Skin.HasSetting(osd.usethemeNewOSD)">OSD2</include>
<include condition="Skin.HasSetting(osd.usethemeNewOSDSide)">OSD3</include>

<control type="group">
<animation effect="fade" start="100" end="0" time="250" condition="Window.IsVisible(DialogSlider.xml)">Conditional</animation>
<include condition="!Skin.HasSetting(osd.usethemeNewOSD) + !Skin.HasSetting(osd.usethemeNewOSDSide)">OSD1</include>
<include condition="Skin.HasSetting(osd.usethemeNewOSD)">OSD2</include>
<include condition="Skin.HasSetting(osd.usethemeNewOSDSide)">OSD3</include>
</control>
<!-- SIDE OSD -->

<include content="DialogInfoOverlay">
Expand Down

0 comments on commit ba3c12c

Please sign in to comment.