diff --git a/Plain Craft Launcher 2/Pages/PageDownload/Comp/MyCompItem.xaml.cs b/Plain Craft Launcher 2/Pages/PageDownload/Comp/MyCompItem.xaml.cs index 13bbbc568..0d59e6e5e 100644 --- a/Plain Craft Launcher 2/Pages/PageDownload/Comp/MyCompItem.xaml.cs +++ b/Plain Craft Launcher 2/Pages/PageDownload/Comp/MyCompItem.xaml.cs @@ -224,7 +224,7 @@ public bool ShowFavoriteBtn } /// - /// 刷新收藏状态 + /// 刷新收藏状态(仅更新图标,不影响 hover 展示逻辑) /// public void RefreshFavoriteStatus() { @@ -232,7 +232,6 @@ public void RefreshFavoriteStatus() var isFavourite = ModComp.CompFavorites.IsFavourite(project.Id); BtnDelete.SvgIcon = isFavourite ? "lucide/heart-filled" : "lucide/heart"; - ShowFavoriteBtn = isFavourite; } #endregion