From 46f4709fb766b9ec68ec6806600964584cb959ab Mon Sep 17 00:00:00 2001 From: Hakoyu Date: Sat, 28 Oct 2023 20:38:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet.ModMaker/Models/ModMakeHistory.cs | 2 +- VPet.ModMaker/Styles.xaml | 4 +++ .../ModEdit/ClickTextEdit/ClickTextPage.xaml | 5 +++- .../Views/ModEdit/FoodEdit/FoodPage.xaml | 5 +++- .../ModEdit/LowTextEdit/LowTextPage.xaml | 5 +++- .../SelectTextEdit/SelectTextPage.xaml | 5 +++- .../Views/ModEdit/WorkEdit/WorkPage.xaml | 14 ++++----- VPet.ModMaker/Views/ModMakerWindow.xaml | 29 ++++++++++++------- VPet.ModMaker/Views/ModMakerWindow.xaml.cs | 3 +- 9 files changed, 48 insertions(+), 24 deletions(-) diff --git a/VPet.ModMaker/Models/ModMakeHistory.cs b/VPet.ModMaker/Models/ModMakeHistory.cs index 7d4dfe4..1e06102 100644 --- a/VPet.ModMaker/Models/ModMakeHistory.cs +++ b/VPet.ModMaker/Models/ModMakeHistory.cs @@ -55,5 +55,5 @@ public class ModMakeHistory /// 最后编辑时间 /// [Line(ignoreCase: true)] - public DateTime LastTime { get; set; } + public DateTime LastTime { get; set; } = DateTime.Now; } diff --git a/VPet.ModMaker/Styles.xaml b/VPet.ModMaker/Styles.xaml index f50a7f4..48cfcc4 100644 --- a/VPet.ModMaker/Styles.xaml +++ b/VPet.ModMaker/Styles.xaml @@ -27,4 +27,8 @@ + \ No newline at end of file diff --git a/VPet.ModMaker/Views/ModEdit/ClickTextEdit/ClickTextPage.xaml b/VPet.ModMaker/Views/ModEdit/ClickTextEdit/ClickTextPage.xaml index 114ef51..7e5be1c 100644 --- a/VPet.ModMaker/Views/ModEdit/ClickTextEdit/ClickTextPage.xaml +++ b/VPet.ModMaker/Views/ModEdit/ClickTextEdit/ClickTextPage.xaml @@ -18,7 +18,10 @@ - + - + - + - + - - - - + + + + @@ -39,14 +39,14 @@ + SelectedItem="{Binding CurrentPet.Value}" + Style="{DynamicResource StandardComboBoxStyle}">