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