mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
qml: further limit miniplayer background effect source
This commit is contained in:
parent
ee68529514
commit
8cccbacd23
@ -463,7 +463,12 @@ FocusScope {
|
|||||||
stackView.forceActiveFocus()
|
stackView.forceActiveFocus()
|
||||||
}
|
}
|
||||||
|
|
||||||
effectSource: mainColumn
|
effectSource: stackView
|
||||||
|
effectSourceRect: effectSource.mapFromItem(parent,
|
||||||
|
x,
|
||||||
|
y,
|
||||||
|
width,
|
||||||
|
height)
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
|
@ -34,6 +34,7 @@ FocusScope {
|
|||||||
visible: false
|
visible: false
|
||||||
|
|
||||||
property alias effectSource: effect.source
|
property alias effectSource: effect.source
|
||||||
|
property alias effectSourceRect: effect.sourceRect
|
||||||
|
|
||||||
state: (Player.playingState === Player.PLAYING_STATE_STOPPED) ? ""
|
state: (Player.playingState === Player.PLAYING_STATE_STOPPED) ? ""
|
||||||
: "expanded"
|
: "expanded"
|
||||||
@ -70,11 +71,6 @@ FocusScope {
|
|||||||
id: effect
|
id: effect
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
sourceRect: Qt.rect(root.x,
|
|
||||||
root.y,
|
|
||||||
root.width,
|
|
||||||
root.height)
|
|
||||||
|
|
||||||
tint: VLCStyle.colors.lowerBanner
|
tint: VLCStyle.colors.lowerBanner
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user