[vlc-commits] [Git][videolan/vlc][master] 2 commits: qml: don't show topbar background in music mode
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sun Jul 24 06:12:10 UTC 2022
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
f70f0657 by Pierre Lamot at 2022-07-24T05:57:24+00:00
qml: don't show topbar background in music mode
- - - - -
067a4e46 by Pierre Lamot at 2022-07-24T05:57:24+00:00
qml: fix playlist offset in player view
- - - - -
1 changed file:
- modules/gui/qt/player/qml/Player.qml
Changes:
=====================================
modules/gui/qt/player/qml/Player.qml
=====================================
@@ -215,14 +215,12 @@ FocusScope {
edge: Widgets.DrawerExt.Edges.Top
state: topcontrolView.state
width: parent.width
- visible: rootPlayer.hasEmbededVideo || rootPlayer.pinVideoControls || topcontrolView.contentItem.isResumeDialogVisible
+ visible: rootPlayer.hasEmbededVideo || rootPlayer.pinVideoControls
height: contentItem.height
component: {
if (rootPlayer.pinVideoControls)
return acrylicBackground
- else if (topcontrolView.contentItem.isResumeDialogVisible)
- return topcontrolViewResumeBg
else
return topcontrolViewBackground
}
@@ -244,17 +242,6 @@ FocusScope {
}
}
}
-
- Component {
- id: topcontrolViewResumeBg
-
- Rectangle {
- width: rootPlayer.width
- height: topcontrolView.height + topcontrolView.anchors.topMargin * 2
- color: rootPlayer.colors.playerBg
- opacity: .8
- }
- }
}
/* bottom control bar background */
@@ -537,7 +524,7 @@ FocusScope {
return VLCStyle.margin_normal
else
// NOTE: We increase the padding accordingly to avoid overlapping the TopBar.
- return topcontrolView.contentItem.topbar.reservedHeight
+ return topcontrolView.contentItem.reservedHeight
}
Navigation.parentItem: rootPlayer
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/38b05b5f1b950d7dd489b4580f2aa1bd395820da...067a4e46c306f1c50c75c1feeb35d7f8548175fa
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/38b05b5f1b950d7dd489b4580f2aa1bd395820da...067a4e46c306f1c50c75c1feeb35d7f8548175fa
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list