瀏覽代碼

2.0正式版

liufei 4 年之前
父節點
當前提交
27e9b56b4d

+ 1 - 1
App.config

@@ -24,7 +24,7 @@
     </assemblyBinding>
   </runtime>
 	<appSettings>
-		<add key="Version" value="1.0-beta" />
+		<add key="Version" value="2.0" />
 		
 		<add key="GitHubUrl" value="https://github.com/Demo-Liu/GeekDesk" />
 		<add key="GiteeUrl" value="https://gitee.com/demo_liu/GeekDesk/tree/master" />

+ 1 - 0
App.xaml.cs

@@ -3,6 +3,7 @@ using Microsoft.Win32;
 using System;
 using System.IO;
 using System.Windows;
+using System.Windows.Media.Animation;
 using System.Windows.Threading;
 
 namespace GeekDesk

+ 1 - 1
Control/UserControls/PannelCard/RightCardControl.xaml

@@ -96,12 +96,12 @@
                             <TextBlock MaxWidth="80"
                                        Margin="0,5,0,0"
                                        MaxHeight="40"
+                                       FontSize="13"
                                        TextWrapping="Wrap" 
                                        TextTrimming="WordEllipsis"
                                        TextAlignment="Center" 
                                        VerticalAlignment="Center" 
                                        Text="{Binding Name}"/>
-
                         </StackPanel>
                     </DataTemplate>
                 </ListBox.ItemTemplate>

+ 7 - 1
Control/UserControls/PannelCard/RightCardControl.xaml.cs

@@ -190,6 +190,7 @@ namespace GeekDesk.Control.UserControls.PannelCard
                     iconInfo.Name = path;
                 }
                 MainWindow.appData.MenuList[appData.AppConfig.SelectedMenuIndex].IconList.Add(iconInfo);
+                CommonCode.SaveAppData(MainWindow.appData);
             }
         }
 
@@ -232,7 +233,7 @@ namespace GeekDesk.Control.UserControls.PannelCard
 
         private void StackPanel_MouseLeave(object sender, MouseEventArgs e)
         {
-            ImgStroyBoard(sender, (int)MainWindowEnum.IMAGE_HEIGHT, (int)MainWindowEnum.IMAGE_WIDTH, 500);
+            ImgStroyBoard(sender, (int)MainWindowEnum.IMAGE_HEIGHT, (int)MainWindowEnum.IMAGE_WIDTH, 250);
         }
 
 
@@ -245,6 +246,7 @@ namespace GeekDesk.Control.UserControls.PannelCard
 
             Image img = sp.Children[0] as Image;
 
+
             DoubleAnimation heightAnimation = new DoubleAnimation();
             DoubleAnimation widthAnimation = new DoubleAnimation();
 
@@ -257,6 +259,10 @@ namespace GeekDesk.Control.UserControls.PannelCard
             heightAnimation.Duration = new Duration(TimeSpan.FromMilliseconds(milliseconds));
             widthAnimation.Duration = new Duration(TimeSpan.FromMilliseconds(milliseconds));
 
+
+            Timeline.SetDesiredFrameRate(heightAnimation, 60);
+            Timeline.SetDesiredFrameRate(widthAnimation, 60);
+
             img.BeginAnimation(HeightProperty, heightAnimation);
             img.BeginAnimation(WidthProperty, widthAnimation);
         }

+ 5 - 5
Update.json

@@ -1,9 +1,9 @@
 {
 	"title" : "版本更新",
-	"subTitle" : "V1.0-beta",
+	"subTitle" : "V2.0 正式版",
 	"msgTitle" : "本次更新内容如下",
-	"msg" : "['更新测试1','更新测试23']",
-	"githubUrl" : "https://github.com/Demo-Liu/GeekDesk/releases/tag/1.0-beta",
-	"giteeUrl" : "https://gitee.com/demo_liu/GeekDesk/releases/1.0-beta",
-	"version": "1.0-beta"
+	"msg" : "['断网时检测更新不再弹框提示了','修复历史待办任务保存时程序崩溃bug','修复某些图标获取过小的bug','添加待办任务设置成功提醒功能','添加性能模式','添加调用系统菜单']",
+	"githubUrl" : "https://github.com/Demo-Liu/GeekDesk/releases/tag/2.0",
+	"giteeUrl" : "https://gitee.com/demo_liu/GeekDesk/releases/2.0",
+	"version": "2.0"
 }