Menu Rapido fix spostamento in alto da scrollbar

This commit is contained in:
Alhaziel01
2020-05-14 19:45:41 +02:00
parent beaf398a4e
commit 2fd781b4d7
3 changed files with 7 additions and 3 deletions

View File

@@ -123,8 +123,12 @@ class Main(xbmcgui.WindowXMLDialog):
if action.getId() == xbmcgui.ACTION_CONTEXT_MENU:
config.open_settings()
focus = self.getFocusId()
if action == 3:
if submenu:
if focus == 61:
self.setFocusId(32500)
elif submenu:
self.close()
open_shortcut_menu()
elif self.getControl(32500).getSelectedItem().getProperty('channel') in ['news', 'channelselector', 'search', 'videolibrary']:

View File

@@ -164,7 +164,7 @@
<showonepage>false</showonepage>
<orientation>horizontal</orientation>
<ondown>32500</ondown>
<onup>32500</onup>
<!-- <onup>32500</onup> -->
<animation effect="slide" end="120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
</control>
</control>

View File

@@ -164,7 +164,7 @@
<showonepage>false</showonepage>
<orientation>horizontal</orientation>
<ondown>32500</ondown>
<onup>32500</onup>
<!-- <onup>32500</onup> -->
<animation effect="slide" end="120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
</control>
</control>