Skip to content
Snippets Groups Projects
Commit 65bd3a1a authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Rémi Denis-Courmont
Browse files

qml: remove the effect from playlist overlay menu

Visual pleasure the effect provides is not justified due to the side effects the effect causes.
parent e14a0233
No related branches found
No related tags found
1 merge request!2279qml: fix #27159, #27160
Pipeline #258311 passed with stage
in 18 minutes and 43 seconds
......@@ -20,7 +20,6 @@ import QtQuick.Controls 2.4
import QtQuick.Templates 2.4 as T
import QtQuick.Layouts 1.11
import QtQml.Models 2.2
import QtGraphicalEffects 1.0
import org.videolan.vlc 0.1
......@@ -144,8 +143,6 @@ Control {
isRight: true
rightPadding: VLCStyle.margin_xsmall + VLCStyle.applicationHorizontalMargin
bottomPadding: VLCStyle.margin_large + root.bottomPadding
effectSource: contentItem
}
}
......
......@@ -57,8 +57,6 @@ FocusScope {
listView.resetStack()
}
property alias effectSource: effect.source
property alias scrollBarActive: scrollBar.active
visible: false
......@@ -103,9 +101,11 @@ FocusScope {
}
}
Item {
Rectangle {
id: parentItem
color: root.colors.bg
anchors {
top: parent.top
bottom: parent.bottom
......@@ -114,6 +114,7 @@ FocusScope {
left: isRight ? undefined : parent.left
}
// TODO: Qt >= 5.12 use TapHandler
MouseArea {
anchors.fill: parent
hoverEnabled: true
......@@ -121,18 +122,6 @@ FocusScope {
acceptedButtons: Qt.NoButton
}
FrostedGlassEffect {
id: effect
anchors.fill: parent
source: backgroundItem
tint: VLCStyle.colors.topBanner
tintStrength: 0.0
exclusionStrength: 0.1
}
ListView {
id: listView
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment