From c86b7c7e186de33847eaba26c62e010aeb86f1cd Mon Sep 17 00:00:00 2001 From: ywmoyue Date: Mon, 24 Jun 2024 20:48:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=A7=86=E9=A2=91=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E6=94=B6=E8=97=8F=E8=8F=9C=E5=8D=95=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E3=80=81=E6=94=AF=E6=8C=81=E9=BC=A0=E6=A0=87=E4=B8=AD?= =?UTF-8?q?=E9=94=AE=E4=BE=A7=E9=94=AE=E5=BF=AB=E6=8D=B7=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E6=94=B6=E8=97=8F=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BiliLite.UWP/Pages/VideoDetailPage.xaml | 21 +++++++++++++++---- .../Pages/VideoDetailPage.xaml.cs | 8 +++++++ 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/src/BiliLite.UWP/Pages/VideoDetailPage.xaml b/src/BiliLite.UWP/Pages/VideoDetailPage.xaml index a91babc1..689ff719 100644 --- a/src/BiliLite.UWP/Pages/VideoDetailPage.xaml +++ b/src/BiliLite.UWP/Pages/VideoDetailPage.xaml @@ -108,7 +108,7 @@ - + @@ -116,12 +116,20 @@ 选择收藏夹 - - 创建 + + + + 创建 + + - + diff --git a/src/BiliLite.UWP/Pages/VideoDetailPage.xaml.cs b/src/BiliLite.UWP/Pages/VideoDetailPage.xaml.cs index 16fc0054..e2372c90 100644 --- a/src/BiliLite.UWP/Pages/VideoDetailPage.xaml.cs +++ b/src/BiliLite.UWP/Pages/VideoDetailPage.xaml.cs @@ -736,5 +736,13 @@ public async Task Save() BtnFav.Flyout.Hide(); } } + + private async void FavList_OnPointerPressed(object sender, PointerRoutedEventArgs e) + { + if (e.IsUseMiddleButton(sender)) + { + await Save(); + } + } } }