From 2fd781b4d781810944ea83a4ecf2dad140bc131c Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 14 May 2020 19:45:41 +0200 Subject: [PATCH] Menu Rapido fix spostamento in alto da scrollbar --- platformcode/keymaptools.py | 6 +++++- resources/skins/Default/720p/DarkShortCutMenu.xml | 2 +- resources/skins/Default/720p/ShortCutMenu.xml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/platformcode/keymaptools.py b/platformcode/keymaptools.py index 57bd6072..bc3be98e 100644 --- a/platformcode/keymaptools.py +++ b/platformcode/keymaptools.py @@ -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']: diff --git a/resources/skins/Default/720p/DarkShortCutMenu.xml b/resources/skins/Default/720p/DarkShortCutMenu.xml index 4edad7cf..9ba71b24 100644 --- a/resources/skins/Default/720p/DarkShortCutMenu.xml +++ b/resources/skins/Default/720p/DarkShortCutMenu.xml @@ -164,7 +164,7 @@ false horizontal 32500 - 32500 + Conditional diff --git a/resources/skins/Default/720p/ShortCutMenu.xml b/resources/skins/Default/720p/ShortCutMenu.xml index c44b25a2..d36e2ab4 100644 --- a/resources/skins/Default/720p/ShortCutMenu.xml +++ b/resources/skins/Default/720p/ShortCutMenu.xml @@ -164,7 +164,7 @@ false horizontal 32500 - 32500 + Conditional