Merge pull request #96 from wer-zen/main

Fixed album image not appearing on bar
This commit is contained in:
Lysec 2025-08-09 04:55:27 +02:00 committed by GitHub
commit 9f8332a034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ Item {
} }
// Album art image // Album art image
Rectangle { ClippingRectangle {
id: albumArtwork id: albumArtwork
width: 20 * Theme.scale(Screen) width: 20 * Theme.scale(Screen)
height: 20 * Theme.scale(Screen) height: 20 * Theme.scale(Screen)
@ -60,18 +60,6 @@ Item {
asynchronous: true asynchronous: true
source: MusicManager.trackArtUrl source: MusicManager.trackArtUrl
visible: source.toString() !== "" visible: source.toString() !== ""
// Rounded corners using layer
layer.enabled: true
layer.effect: MultiEffect {
maskEnabled: true
maskSource: Rectangle {
width: albumArt.width
height: albumArt.height
radius: albumArt.width / 2 // circle
visible: false
}
}
} }
// Fallback icon // Fallback icon