add setting to disable rounded image corners

This commit is contained in:
Drew Weymouth
2025-11-15 10:36:07 -08:00
parent 679e9a9b1f
commit 2afef81a11
14 changed files with 26 additions and 21 deletions
+1 -3
View File
@@ -19,8 +19,7 @@ import (
type LargeNowPlayingCard struct {
CaptionedImage
DisableRating bool
ImageCornerRadius float32
DisableRating bool
isRadio bool
trackName *widget.RichText
@@ -164,6 +163,5 @@ func (n *LargeNowPlayingCard) Refresh() {
} else {
n.rating.Enable()
}
n.cover.CornerRadius = n.ImageCornerRadius
n.BaseWidget.Refresh()
}