add debouncing for gridview loading

This commit is contained in:
Drew Weymouth
2025-02-21 07:58:56 -08:00
parent 2d209a29f5
commit cbbdad3a10
2 changed files with 46 additions and 8 deletions
+4 -3
View File
@@ -308,9 +308,10 @@ type GridViewItem struct {
focusRect *canvas.Rectangle
// updated by GridView
Cover *coverImage
ImgLoader util.ThumbnailLoader
ItemIndex int
Cover *coverImage
ImgLoader util.ThumbnailLoader
ItemIndex int
NextUpdateModel *GridViewItemModel
OnPlay func()
OnFavorite func(bool)