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
-2
View File
@@ -11,7 +11,6 @@ import (
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/container"
"fyne.io/fyne/v2/theme"
"fyne.io/fyne/v2/widget"
)
@@ -48,7 +47,6 @@ func NewBottomPanel(pm *backend.PlaybackManager, im *backend.ImageManager, contr
pm.OnStopped(util.FyneDoFunc(func() { bp.Controls.SetPlaying(false) }))
bp.NowPlaying = widgets.NewNowPlayingCard()
bp.NowPlaying.ImageCornerRadius = theme.InputRadiusSize()
bp.NowPlaying.OnCoverTapped = func() {
contr.NavigateTo(controller.NowPlayingRoute())
}