forked from Shinonome/dots-hyprland
media controls: outside click dismissal, no player placeholder
This commit is contained in:
@@ -22,6 +22,7 @@ Item { // Player instance
|
||||
property list<real> visualizerPoints: []
|
||||
property real maxVisualizerValue: 1000 // Max value in the data points
|
||||
property int visualizerSmoothing: 2 // Number of points to average for smoothing
|
||||
property real radius
|
||||
|
||||
component TrackChangeButton: RippleButton {
|
||||
implicitWidth: 24
|
||||
@@ -107,7 +108,7 @@ Item { // Player instance
|
||||
anchors.fill: parent
|
||||
anchors.margins: Appearance.sizes.elevationMargin
|
||||
color: blendedColors.colLayer0
|
||||
radius: root.popupRounding
|
||||
radius: playerController.radius
|
||||
|
||||
layer.enabled: true
|
||||
layer.effect: OpacityMask {
|
||||
@@ -141,7 +142,7 @@ Item { // Player instance
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: ColorUtils.transparentize(blendedColors.colLayer0, 0.3)
|
||||
radius: root.popupRounding
|
||||
radius: playerController.radius
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user