mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-02 02:26:00 +00:00
MediaCard: fix visualizer clipping
This commit is contained in:
@@ -46,7 +46,20 @@ NBox {
|
||||
Item {
|
||||
id: visualizerContainer
|
||||
anchors.fill: parent
|
||||
visible: true
|
||||
layer.enabled: true
|
||||
layer.effect: MultiEffect {
|
||||
maskEnabled: true
|
||||
maskThresholdMin: 0.5
|
||||
maskSpreadAtMin: 0.0
|
||||
maskSource: ShaderEffectSource {
|
||||
sourceItem: Rectangle {
|
||||
width: root.width
|
||||
height: root.height
|
||||
radius: Style.radiusM * scaling
|
||||
color: "white"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loader {
|
||||
anchors.fill: parent
|
||||
@@ -97,21 +110,6 @@ NBox {
|
||||
}
|
||||
}
|
||||
|
||||
MultiEffect {
|
||||
anchors.fill: parent
|
||||
source: visualizerContainer
|
||||
maskEnabled: true
|
||||
maskSource: Item {
|
||||
width: root.width
|
||||
height: root.height
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
radius: Style.radiusM * scaling
|
||||
color: "white"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Player selector - positioned at the very top
|
||||
Rectangle {
|
||||
id: playerSelectorButton
|
||||
|
||||
Reference in New Issue
Block a user