[UI] Fixed subtitles visibility.
This commit is contained in:
parent
98f56251f8
commit
bdea9ade90
src/qml
|
@ -107,6 +107,7 @@ Item {
|
|||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
color: appearance.mainBackground
|
||||
visible: controlsOverlay.controlsShowing
|
||||
}
|
||||
|
||||
Item {
|
||||
|
@ -118,7 +119,7 @@ Item {
|
|||
anchors.leftMargin: parent.width / 128
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: 2
|
||||
visible: true
|
||||
visible: controlsOverlay.controlsShowing
|
||||
VideoProgress {
|
||||
id: progressBar
|
||||
anchors.bottom: parent.top
|
||||
|
|
|
@ -45,6 +45,7 @@ Window {
|
|||
property string volumeSliderBackground: "white"
|
||||
}
|
||||
|
||||
|
||||
Settings {
|
||||
id: i18n
|
||||
category: "I18N"
|
||||
|
@ -326,9 +327,9 @@ Window {
|
|||
&& ((!appearance.titleOnlyOnFullscreen)
|
||||
|| (mainWindow.visibility == Window.FullScreen))
|
||||
Connections {
|
||||
target: player
|
||||
enabled: true
|
||||
onTitleChanged: function (title) {
|
||||
target: player
|
||||
enabled: true
|
||||
onTitleChanged: function (title) {
|
||||
titleLabel.text = title
|
||||
}
|
||||
}
|
||||
|
@ -337,7 +338,6 @@ Window {
|
|||
|
||||
ControlsBar {
|
||||
id: controlsBar
|
||||
visible: controlsOverlay.controlsShowing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue