Skip to content

Commit

Permalink
修复一些问题
Browse files Browse the repository at this point in the history
  • Loading branch information
noberumotto committed Oct 26, 2023
1 parent 2f14583 commit f958fa6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.2")]
[assembly: AssemblyFileVersion("1.1.0.2")]
[assembly: AssemblyVersion("1.1.0.3")]
[assembly: AssemblyFileVersion("1.1.0.3")]
8 changes: 8 additions & 0 deletions Core/Servicers/Instances/WebData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,14 @@ private Models.Db.WebUrlModel GetCreateUrl(TaiDbContext db, Site site_)
});
db.SaveChanges();
}
else
{
if (result.Title != site_.Title)
{
result.Title = site_.Title;
db.SaveChanges();
}
}
return result;

}
Expand Down
4 changes: 2 additions & 2 deletions UI/Controls/Tabbar/Tabbar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ private void CreateAnimations()
{
storyboard = new Storyboard();
scrollAnimation = new DoubleAnimation();
scrollAnimation.EasingFunction = new BackEase() { EasingMode = EasingMode.EaseOut, Amplitude = .8 };
scrollAnimation.Duration = new Duration(TimeSpan.FromSeconds(0.38));
//scrollAnimation.EasingFunction = new BackEase() { EasingMode = EasingMode.EaseOut, Amplitude = .8 };
scrollAnimation.Duration = new Duration(TimeSpan.FromSeconds(0.1));

Storyboard.SetTarget(scrollAnimation, ActiveBlock);
Storyboard.SetTargetProperty(scrollAnimation, new PropertyPath("RenderTransform.Children[0].X"));
Expand Down
4 changes: 2 additions & 2 deletions UI/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.0.2")]
[assembly: AssemblyFileVersion("1.5.0.2")]
[assembly: AssemblyVersion("1.5.0.3")]
[assembly: AssemblyFileVersion("1.5.0.3")]

0 comments on commit f958fa6

Please sign in to comment.