vlc | branch: master | Fatih Uzunoglu <[email protected]> | Fri Jan 8 00:37:00 2021 +0300| [b538dd06abdfd8dcf51385d1da07e45dabaca498] | committer: Pierre Lamot
qml: fix focus for MiniPlayer Signed-off-by: Pierre Lamot <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b538dd06abdfd8dcf51385d1da07e45dabaca498 --- modules/gui/qt/player/qml/MiniPlayer.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt/player/qml/MiniPlayer.qml b/modules/gui/qt/player/qml/MiniPlayer.qml index f717361c4d..b30aacf219 100644 --- a/modules/gui/qt/player/qml/MiniPlayer.qml +++ b/modules/gui/qt/player/qml/MiniPlayer.qml @@ -10,10 +10,9 @@ import "qrc:///util/KeyHelper.js" as KeyHelper import "qrc:///style/" Widgets.NavigableFocusScope { - id: root - readonly property bool expanded: root.implicitHeight === root.childrenRect.height + readonly property bool expanded: root.implicitHeight === VLCStyle.miniPlayerHeight property var mainContent: undefined @@ -82,6 +81,8 @@ Widgets.NavigableFocusScope { value: player.position visible: progressBar.value >= 0.0 && progressBar.value <= 1.0 + focus: true + isMiniplayer: true anchors { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
