[vlc-commits] qml: fix focus for MiniPlayer
Fatih Uzunoglu
git at videolan.org
Tue Jan 12 13:20:58 UTC 2021
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Jan 8 00:37:00 2021 +0300| [b538dd06abdfd8dcf51385d1da07e45dabaca498] | committer: Pierre Lamot
qml: fix focus for MiniPlayer
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> 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 {
More information about the vlc-commits
mailing list