summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/mediaplayer
diff options
context:
space:
mode:
authorPiotr Srebrny <piotr.srebrny@qt.io>2021-09-06 13:33:38 +0200
committerPiotr Srebrny <piotr.srebrny@qt.io>2021-09-06 18:48:08 +0200
commit1e97d96ab0647005dd655961874f640984d66134 (patch)
tree6cbdf19497a3f615ba0c9651b7b61b5a54caaa8a /examples/multimedia/video/mediaplayer
parent3e99f4aa72aa0aebfa8c836dd76480bda168c5b2 (diff)
Do not hide playback control bar since HoverHandle is broken
Change-Id: Ia67ba3c0611cebd49a9e5ed072c2bb07739312fa Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimedia/video/mediaplayer')
-rw-r--r--examples/multimedia/video/mediaplayer/PlaybackControl.qml2
-rw-r--r--examples/multimedia/video/mediaplayer/main.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/multimedia/video/mediaplayer/PlaybackControl.qml b/examples/multimedia/video/mediaplayer/PlaybackControl.qml
index ee2ba6ed4..50715c537 100644
--- a/examples/multimedia/video/mediaplayer/PlaybackControl.qml
+++ b/examples/multimedia/video/mediaplayer/PlaybackControl.qml
@@ -75,7 +75,7 @@ Item {
if (playbackControlHoover.hovered || mediaPlayerState != MediaPlayer.PlayingState || !mediaPlayer.hasVideo)
root.opacity = 1;
else
- root.opacity = 0;
+ root.opacity = 1; // 0; TODO: enable opacity change when HoverHandle is fixed
}
Connections {
diff --git a/examples/multimedia/video/mediaplayer/main.qml b/examples/multimedia/video/mediaplayer/main.qml
index 6ea8b4135..285411cf2 100644
--- a/examples/multimedia/video/mediaplayer/main.qml
+++ b/examples/multimedia/video/mediaplayer/main.qml
@@ -117,7 +117,7 @@ Window {
property bool fullScreen: false
anchors.top: fullScreen ? parent.top : menuBar.bottom
- anchors.bottom: parent.bottom
+ anchors.bottom: playbackControl.top
anchors.left: parent.left
anchors.right: parent.right