Skip to content

Portable Tool for an Ideal Windows Setup

changed anim & frame rate

Greedeks470e0fd11ac7
diff --git a/.Source/GTweak/Assets/UserControl/Comment.xaml b/.Source/GTweak/Assets/UserControl/Comment.xaml
index f0350689..eb522897 100644
--- a/.Source/GTweak/Assets/UserControl/Comment.xaml
+++ b/.Source/GTweak/Assets/UserControl/Comment.xaml
@@ -15,7 +15,7 @@
<Border.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard>
+ <Storyboard Timeline.DesiredFrameRate="240">
<ThicknessAnimation Storyboard.TargetProperty="Margin" From="320,0,0,0" To="20,0,0,0" Duration="0:0:0.5">
<ThicknessAnimation.EasingFunction>
<QuadraticEase EasingMode="EaseOut"/>
@@ -32,7 +32,7 @@
<Border.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard>
+ <Storyboard Timeline.DesiredFrameRate="240">
<ThicknessAnimation Storyboard.TargetProperty="Margin" From="320,0,0,0" To="20,0,0,0" Duration="0:0:0.5">
<ThicknessAnimation.EasingFunction>
<QuadraticEase EasingMode="EaseOut"/>
@@ -49,7 +49,7 @@
<Border.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard>
+ <Storyboard Timeline.DesiredFrameRate="240">
<ThicknessAnimation Storyboard.TargetProperty="Margin" From="320,0,0,5" To="20,0,0,5" Duration="0:0:0.5">
<ThicknessAnimation.EasingFunction>
<QuadraticEase EasingMode="EaseOut"/>
@@ -66,7 +66,7 @@
<Border.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard>
+ <Storyboard Timeline.DesiredFrameRate="240">
<ThicknessAnimation Storyboard.TargetProperty="Margin" From="320,0,0,5" To="20,0,0,5" Duration="0:0:0.5">
<ThicknessAnimation.EasingFunction>
<QuadraticEase EasingMode="EaseOut"/>
@@ -84,7 +84,7 @@
<Border.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard>
+ <Storyboard Timeline.DesiredFrameRate="240">
<ThicknessAnimation Storyboard.TargetProperty="Margin" From="0,0,320,0" To="0,0,20,0" Duration="0:0:0.5">
<ThicknessAnimation.EasingFunction>
<QuadraticEase EasingMode="EaseOut"/>
@@ -101,7 +101,7 @@
<Border.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard>
+ <Storyboard Timeline.DesiredFrameRate="240">
<ThicknessAnimation Storyboard.TargetProperty="Margin" From="0,0,320,0" To="0,0,20,0" Duration="0:0:0.5">
<ThicknessAnimation.EasingFunction>
<QuadraticEase EasingMode="EaseOut"/>
@@ -118,7 +118,7 @@
<Border.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard>
+ <Storyboard Timeline.DesiredFrameRate="240">
<ThicknessAnimation Storyboard.TargetProperty="Margin" From="0,0,320,5" To="0,0,20,5" Duration="0:0:0.5">
<ThicknessAnimation.EasingFunction>
<QuadraticEase EasingMode="EaseOut"/>
@@ -135,7 +135,7 @@
<Border.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard>
+ <Storyboard Timeline.DesiredFrameRate="240">
<ThicknessAnimation Storyboard.TargetProperty="Margin" From="0,0,320,5" To="0,0,20,5" Duration="0:0:0.5">
<ThicknessAnimation.EasingFunction>
<QuadraticEase EasingMode="EaseOut"/>
diff --git a/.Source/GTweak/Assets/UserControl/ProggressRing.xaml b/.Source/GTweak/Assets/UserControl/ProggressRing.xaml
index de59e504..7bb18a5a 100644
--- a/.Source/GTweak/Assets/UserControl/ProggressRing.xaml
+++ b/.Source/GTweak/Assets/UserControl/ProggressRing.xaml
@@ -34,7 +34,7 @@
<Trigger Property="Image.IsEnabled" Value="True">
<Trigger.EnterActions>
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="Data.Transform.Angle" To="360" Duration="0:0:4" SpeedRatio="3" RepeatBehavior="Forever"/>
</Storyboard>
</BeginStoryboard>
diff --git a/.Source/GTweak/Assets/UserControl/ToggleButton.xaml.cs b/.Source/GTweak/Assets/UserControl/ToggleButton.xaml.cs
index f02249bf..4da03726 100644
--- a/.Source/GTweak/Assets/UserControl/ToggleButton.xaml.cs
+++ b/.Source/GTweak/Assets/UserControl/ToggleButton.xaml.cs
@@ -98,7 +98,7 @@ namespace GTweak.Assets.UserControl
thicknessAnimKeyFrames.KeyFrames.Add(fromFrame);
thicknessAnimKeyFrames.KeyFrames.Add(toFrame);
- Timeline.SetDesiredFrameRate(thicknessAnimKeyFrames, 400);
+ Timeline.SetDesiredFrameRate(thicknessAnimKeyFrames, 240);
Dot.BeginAnimation(MarginProperty, thicknessAnimKeyFrames);
BrushAnimation brushanimation = new BrushAnimation()
@@ -108,7 +108,7 @@ namespace GTweak.Assets.UserControl
SpeedRatio = 1,
Duration = isSkipAnimation ? TimeSpan.FromSeconds(0) : TimeSpan.FromMilliseconds(150)
};
- Timeline.SetDesiredFrameRate(brushanimation, 400);
+ Timeline.SetDesiredFrameRate(brushanimation, 240);
Back.BeginAnimation(Shape.FillProperty, brushanimation);
ToggleText.Style = (Style)FindResource("Text");
}
@@ -127,7 +127,7 @@ namespace GTweak.Assets.UserControl
thicknessAnimKeyFrames.KeyFrames.Add(fromFrame);
thicknessAnimKeyFrames.KeyFrames.Add(toFrame);
- Timeline.SetDesiredFrameRate(thicknessAnimKeyFrames, 400);
+ Timeline.SetDesiredFrameRate(thicknessAnimKeyFrames, 240);
Dot.BeginAnimation(MarginProperty, thicknessAnimKeyFrames);
BrushAnimation brushanimation = new BrushAnimation()
@@ -137,7 +137,7 @@ namespace GTweak.Assets.UserControl
SpeedRatio = 1,
Duration = isSkipAnimation ? TimeSpan.FromSeconds(0) : TimeSpan.FromMilliseconds(150)
};
- Timeline.SetDesiredFrameRate(brushanimation, 400);
+ Timeline.SetDesiredFrameRate(brushanimation, 240);
Back.BeginAnimation(Shape.FillProperty, brushanimation);
ToggleText.Style = (Style)FindResource("Text_In");
}
diff --git a/.Source/GTweak/Languages/en/Localize.xaml b/.Source/GTweak/Languages/en/Localize.xaml
index b721bf2c..256ecae3 100644
--- a/.Source/GTweak/Languages/en/Localize.xaml
+++ b/.Source/GTweak/Languages/en/Localize.xaml
@@ -6,10 +6,7 @@
<v:String x:Key="defaultDescriptionApp">Hover your mouse over the icon of any application to see its name</v:String>
<!--#region Load Window -->
- <v:String x:Key="title0_load">Loading</v:String>
- <v:String x:Key="title1_load">Loading.</v:String>
- <v:String x:Key="title2_load">Loading..</v:String>
- <v:String x:Key="title3_load">Loading...</v:String>
+ <v:String x:Key="title_load">Loading</v:String>
<v:String x:Key="text0_load">Uploading a profile</v:String>
<v:String x:Key="text1_load">Checking the data</v:String>
<v:String x:Key="text2_load">Viewing the registry</v:String>
@@ -103,7 +100,7 @@
<!--#region Import Window -->
<v:String x:Key="title_win_import">Importing tweaks</v:String>
- <v:String x:Key="wait_win_import">It takes some time...</v:String>
+ <v:String x:Key="wait_win_import">It takes some time</v:String>
<v:String x:Key="warning_win_import">It is not necessary to close the window forcibly</v:String>
<v:String x:Key="file_import">File</v:String>
<!--#endregion-->
diff --git a/.Source/GTweak/Languages/ko/Localize.xaml b/.Source/GTweak/Languages/ko/Localize.xaml
index 9aa82d2a..17ed7c69 100644
--- a/.Source/GTweak/Languages/ko/Localize.xaml
+++ b/.Source/GTweak/Languages/ko/Localize.xaml
@@ -6,10 +6,7 @@
<v:String x:Key="defaultDescriptionApp">응용 프로그램의 아이콘 위에 마우스를 가져가면 이름을 확인할 수 있습니다</v:String>
<!--#region Load Window -->
- <v:String x:Key="title0_load">로드 중</v:String>
- <v:String x:Key="title1_load">로드 중.</v:String>
- <v:String x:Key="title2_load">로드 중..</v:String>
- <v:String x:Key="title3_load">로드 중...</v:String>
+ <v:String x:Key="title_load">로드 중</v:String>
<v:String x:Key="text0_load">프로필 업로드 중</v:String>
<v:String x:Key="text1_load">데이터 확인 중</v:String>
<v:String x:Key="text2_load">레지스트리 보기</v:String>
@@ -103,7 +100,7 @@
<!--#region Import Window -->
<v:String x:Key="title_win_import">조정 가져오기</v:String>
- <v:String x:Key="wait_win_import">시간이 좀 걸립니다...</v:String>
+ <v:String x:Key="wait_win_import">시간이 좀 걸립니다</v:String>
<v:String x:Key="warning_win_import">창을 강제로 닫을 필요는 없습니다</v:String>
<v:String x:Key="file_import">파일</v:String>
<!--#endregion-->
diff --git a/.Source/GTweak/Languages/ru/Localize.xaml b/.Source/GTweak/Languages/ru/Localize.xaml
index 0d077fff..e2029ad4 100644
--- a/.Source/GTweak/Languages/ru/Localize.xaml
+++ b/.Source/GTweak/Languages/ru/Localize.xaml
@@ -6,10 +6,7 @@
<v:String x:Key="defaultDescriptionApp">Наведите указатель мыши на значок любого приложения, чтобы получить его название</v:String>
<!--#region Load Window -->
- <v:String x:Key="title0_load">Загрузка</v:String>
- <v:String x:Key="title1_load">Загрузка.</v:String>
- <v:String x:Key="title2_load">Загрузка..</v:String>
- <v:String x:Key="title3_load">Загрузка...</v:String>
+ <v:String x:Key="title_load">Загрузка</v:String>
<v:String x:Key="text0_load">Загрузка профиля</v:String>
<v:String x:Key="text1_load">Проверка данных</v:String>
<v:String x:Key="text2_load">Просмотр реестра</v:String>
@@ -103,7 +100,7 @@
<!--#region Import Window -->
<v:String x:Key="title_win_import">Импорт твиков</v:String>
- <v:String x:Key="wait_win_import">Это занимает некоторое время...</v:String>
+ <v:String x:Key="wait_win_import">Это занимает некоторое время</v:String>
<v:String x:Key="warning_win_import">Принудительно закрывать окно нет необходимости</v:String>
<v:String x:Key="file_import">Файл</v:String>
<!--#endregion-->
diff --git a/.Source/GTweak/Languages/uk/Localize.xaml b/.Source/GTweak/Languages/uk/Localize.xaml
index e4405035..3d6188ad 100644
--- a/.Source/GTweak/Languages/uk/Localize.xaml
+++ b/.Source/GTweak/Languages/uk/Localize.xaml
@@ -6,10 +6,7 @@
<v:String x:Key="defaultDescriptionApp">Наведіть вказівник миші на піктограму будь-якого додатку, щоб отримати його назву</v:String>
<!--#region Load Window -->
- <v:String x:Key="title0_load">Завантаження </v:String>
- <v:String x:Key="title1_load">Завантаження. </v:String>
- <v:String x:Key="title2_load">Завантаження.. </v:String>
- <v:String x:Key="title3_load">Завантаження...</v:String>
+ <v:String x:Key="title_load">Завантаження</v:String>
<v:String x:Key="text0_load">Завантаження профілю</v:String>
<v:String x:Key="text1_load">Перевірка даних</v:String>
<v:String x:Key="text2_load">Перегляд реєстру</v:String>
@@ -103,7 +100,7 @@
<!--#region Import Window -->
<v:String x:Key="title_win_import">Імпорт налаштувань</v:String>
- <v:String x:Key="wait_win_import">На це потрібен деякий час...</v:String>
+ <v:String x:Key="wait_win_import">На це потрібен деякий час</v:String>
<v:String x:Key="warning_win_import">Немає потреби примусово закривати вікно</v:String>
<v:String x:Key="file_import">Файл</v:String>
<!--#endregion-->
diff --git a/.Source/GTweak/Styles/Buttons/Buttons.xaml b/.Source/GTweak/Styles/Buttons/Buttons.xaml
index 2df2944a..a5753258 100644
--- a/.Source/GTweak/Styles/Buttons/Buttons.xaml
+++ b/.Source/GTweak/Styles/Buttons/Buttons.xaml
@@ -29,7 +29,7 @@
</Trigger>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)" From="10" To="0" Duration="0:0:1.2" DecelerationRatio="0.6">
<DoubleAnimation.EasingFunction>
<ElasticEase/>
@@ -103,7 +103,7 @@
<EventTrigger RoutedEvent="Button.MouseEnter">
<EventTrigger.Actions>
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="1.02" Duration="0:0:1.0" SpeedRatio="10"/>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="1.02" Duration="0:0:1.0" SpeedRatio="10"/>
</Storyboard>
@@ -113,7 +113,7 @@
<EventTrigger RoutedEvent="Button.MouseLeave">
<EventTrigger.Actions>
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.02" To="1" Duration="0:0:1.0" SpeedRatio="11"/>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.02" To="1" Duration="0:0:1.0" SpeedRatio="11"/>
</Storyboard>
@@ -185,7 +185,7 @@
<EventTrigger RoutedEvent="Button.MouseEnter">
<EventTrigger.Actions>
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="1.02" Duration="0:0:1.0" SpeedRatio="10"/>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="1.02" Duration="0:0:1.0" SpeedRatio="10"/>
</Storyboard>
@@ -195,7 +195,7 @@
<EventTrigger RoutedEvent="Button.MouseLeave">
<EventTrigger.Actions>
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.02" To="1" Duration="0:0:1.0" SpeedRatio="11"/>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.02" To="1" Duration="0:0:1.0" SpeedRatio="11"/>
</Storyboard>
diff --git a/.Source/GTweak/Styles/Buttons/ToggleButtons.xaml b/.Source/GTweak/Styles/Buttons/ToggleButtons.xaml
index e47ab4c4..681631d8 100644
--- a/.Source/GTweak/Styles/Buttons/ToggleButtons.xaml
+++ b/.Source/GTweak/Styles/Buttons/ToggleButtons.xaml
@@ -30,7 +30,7 @@
<EventTrigger RoutedEvent="Button.MouseEnter">
<EventTrigger.Actions>
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="1.07" Duration="0:0:0.1"/>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="1.07" Duration="0:0:0.1"/>
</Storyboard>
@@ -40,7 +40,7 @@
<EventTrigger RoutedEvent="Button.MouseLeave">
<EventTrigger.Actions>
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.07" To="1" Duration="0:0:0.1"/>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.07" To="1" Duration="0:0:0.1"/>
</Storyboard>
@@ -79,7 +79,7 @@
<EventTrigger RoutedEvent="Button.MouseEnter">
<EventTrigger.Actions>
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="1.07" Duration="0:0:0.1"/>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="1.07" Duration="0:0:0.1"/>
</Storyboard>
@@ -89,7 +89,7 @@
<EventTrigger RoutedEvent="Button.MouseLeave">
<EventTrigger.Actions>
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.07" To="1" Duration="0:0:0.1"/>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.07" To="1" Duration="0:0:0.1"/>
</Storyboard>
diff --git a/.Source/GTweak/Styles/Images.xaml b/.Source/GTweak/Styles/Images.xaml
index 0665ec0f..8cbf993c 100644
--- a/.Source/GTweak/Styles/Images.xaml
+++ b/.Source/GTweak/Styles/Images.xaml
@@ -17,7 +17,7 @@
<EventTrigger RoutedEvent="Button.MouseEnter">
<EventTrigger.Actions>
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="1.07" Duration="0:0:0.1"/>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="1.07" Duration="0:0:0.1"/>
</Storyboard>
@@ -27,7 +27,7 @@
<EventTrigger RoutedEvent="Button.MouseLeave">
<EventTrigger.Actions>
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.07" To="1" Duration="0:0:0.1"/>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.07" To="1" Duration="0:0:0.1"/>
</Storyboard>
diff --git a/.Source/GTweak/Styles/Page.xaml b/.Source/GTweak/Styles/Page.xaml
index b6f7d94c..732cf4b8 100644
--- a/.Source/GTweak/Styles/Page.xaml
+++ b/.Source/GTweak/Styles/Page.xaml
@@ -13,7 +13,7 @@
</Trigger>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="Opacity" Duration="0:0:1" SpeedRatio="5" From="0" To="1" />
</Storyboard>
</BeginStoryboard>
diff --git a/.Source/GTweak/Utilities/Helpers/Animation/TypewriterAnimation.cs b/.Source/GTweak/Utilities/Helpers/Animation/TypewriterAnimation.cs
index f34fa455..936afb90 100644
--- a/.Source/GTweak/Utilities/Helpers/Animation/TypewriterAnimation.cs
+++ b/.Source/GTweak/Utilities/Helpers/Animation/TypewriterAnimation.cs
@@ -51,7 +51,7 @@ namespace GTweak.Utilities.Helpers.Animation
stringAnimation.KeyFrames.Add(keyFrame);
}
- Timeline.SetDesiredFrameRate(stringAnimation, 400);
+ Timeline.SetDesiredFrameRate(stringAnimation, 240);
return stringAnimation;
}
@@ -65,7 +65,7 @@ namespace GTweak.Utilities.Helpers.Animation
EasingFunction = new QuadraticEase()
};
- Timeline.SetDesiredFrameRate(opacityAnimation, 400);
+ Timeline.SetDesiredFrameRate(opacityAnimation, 240);
return opacityAnimation;
}
}
diff --git a/.Source/GTweak/View/DataSystemView.xaml.cs b/.Source/GTweak/View/DataSystemView.xaml.cs
index 0a9f5cf5..0708b8d5 100644
--- a/.Source/GTweak/View/DataSystemView.xaml.cs
+++ b/.Source/GTweak/View/DataSystemView.xaml.cs
@@ -59,7 +59,7 @@ namespace GTweak.View
{
DoubleAnimation doubleAnim = new DoubleAnimation(0, (Duration)TimeSpan.FromSeconds(0.18));
doubleAnim.Completed += delegate { SettingsRepository.ChangingParameters(false, "HiddenIP"); };
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
IpAddress.Effect.BeginAnimation(BlurEffect.RadiusProperty, doubleAnim);
}
@@ -83,7 +83,7 @@ namespace GTweak.View
EasingFunction = new PowerEase(),
Duration = TimeSpan.FromSeconds(0.2)
};
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
CPULoad.BeginAnimation(ProgressBar.ValueProperty, doubleAnim);
@@ -94,7 +94,7 @@ namespace GTweak.View
EasingFunction = new PowerEase(),
Duration = TimeSpan.FromSeconds(0.2)
};
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
RAMLoad.BeginAnimation(ProgressBar.ValueProperty, doubleAnim);
});
}
@@ -115,7 +115,7 @@ namespace GTweak.View
Duration = TimeSpan.FromSeconds(3)
};
opacityAnim.Completed += delegate { PopupCopy.IsOpen = false; };
- Timeline.SetDesiredFrameRate(opacityAnim, 400);
+ Timeline.SetDesiredFrameRate(opacityAnim, 240);
CopyTextToastBody.BeginAnimation(ContextMenu.OpacityProperty, opacityAnim);
DoubleAnimation offsetAnim = new DoubleAnimation()
@@ -126,7 +126,7 @@ namespace GTweak.View
EasingFunction = new QuadraticEase(),
Duration = TimeSpan.FromSeconds(3)
};
- Timeline.SetDesiredFrameRate(offsetAnim, 400);
+ Timeline.SetDesiredFrameRate(offsetAnim, 240);
PopupCopy.BeginAnimation(Popup.VerticalOffsetProperty, offsetAnim);
});
}
@@ -143,7 +143,7 @@ namespace GTweak.View
EasingFunction = new QuadraticEase(),
Duration = TimeSpan.FromSeconds(0.2)
};
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
IpAddress.Effect.BeginAnimation(BlurEffect.RadiusProperty, doubleAnim);
}
diff --git a/.Source/GTweak/View/MoreView.xaml.cs b/.Source/GTweak/View/MoreView.xaml.cs
index c76de8ca..5fadb9c5 100644
--- a/.Source/GTweak/View/MoreView.xaml.cs
+++ b/.Source/GTweak/View/MoreView.xaml.cs
@@ -32,7 +32,7 @@ namespace GTweak.View
EasingFunction = new QuadraticEase()
};
if (onComplete != null) { doubleAnim.Completed += onComplete; }
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
Overlay.BeginAnimation(OpacityProperty, doubleAnim);
}
diff --git a/.Source/GTweak/View/PakagesView.xaml.cs b/.Source/GTweak/View/PakagesView.xaml.cs
index 83c6f245..76172223 100644
--- a/.Source/GTweak/View/PakagesView.xaml.cs
+++ b/.Source/GTweak/View/PakagesView.xaml.cs
@@ -54,7 +54,7 @@ namespace GTweak.View
EasingFunction = new QuadraticEase()
};
if (onComplete != null) { doubleAnim.Completed += onComplete; }
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
Overlay.BeginAnimation(OpacityProperty, doubleAnim);
}
diff --git a/.Source/GTweak/Windows/ImportWindow.xaml b/.Source/GTweak/Windows/ImportWindow.xaml
index f40d3363..7252635a 100644
--- a/.Source/GTweak/Windows/ImportWindow.xaml
+++ b/.Source/GTweak/Windows/ImportWindow.xaml
@@ -33,8 +33,24 @@
<TextBlock Text="{DynamicResource warning_win_import}" Foreground="{StaticResource Color_TetBlock_Inactivity}" Height="auto" Width="auto" MaxWidth="350" FontFamily="{StaticResource Jura}" FontSize="13px" HorizontalAlignment="Left" TextAlignment="Center" Margin="0,10,0,0"/>
<Border Margin="0,20,0,0" CornerRadius="5" Background="{StaticResource Color_Background_RadialProgressBar}" Height="30" Width="350" HorizontalAlignment="Left">
<StackPanel Orientation="Horizontal">
- <uc:ProggressRing ChangeBackground="{StaticResource Color_Background_Dark}" ChangeStrokeThickness="10" Width="25" Margin="10,0,0,0" />
- <TextBlock Text="{DynamicResource wait_win_import}" Foreground="{StaticResource Color_Highlighted}" Height="auto" Width="auto" FontFamily="{StaticResource Jura}" FontSize="13px" HorizontalAlignment="Left" TextAlignment="Center" Margin="10,5,0,0"/>
+ <uc:ProggressRing ChangeBackground="{StaticResource Color_Background_Dark}" ChangeStrokeThickness="10" Width="24" Margin="10,0,0,0" />
+ <TextBlock Foreground="{StaticResource Color_Highlighted}" Height="auto" Width="auto" FontFamily="{StaticResource Jura}" FontSize="13px" Margin="5,0,0,2" HorizontalAlignment="Left" TextAlignment="Center" VerticalAlignment="Center">
+ <Run Text="{StaticResource wait_win_import}" /><Run x:Name="DotRun" Text="" />
+ <TextBlock.Triggers>
+ <EventTrigger RoutedEvent="FrameworkElement.Loaded">
+ <BeginStoryboard>
+ <Storyboard Timeline.DesiredFrameRate="240" RepeatBehavior="Forever" Duration="0:0:0.8">
+ <ObjectAnimationUsingKeyFrames Storyboard.TargetName="DotRun" Storyboard.TargetProperty="Text">
+ <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="" />
+ <DiscreteObjectKeyFrame KeyTime="0:0:0.2" Value="." />
+ <DiscreteObjectKeyFrame KeyTime="0:0:0.4" Value=".." />
+ <DiscreteObjectKeyFrame KeyTime="0:0:0.6" Value="..." />
+ </ObjectAnimationUsingKeyFrames>
+ </Storyboard>
+ </BeginStoryboard>
+ </EventTrigger>
+ </TextBlock.Triggers>
+ </TextBlock>
</StackPanel>
</Border>
<TextBlock Foreground="{StaticResource Color_Inactive}" Height="auto" Width="auto" MaxWidth="350" FontFamily="{StaticResource Jura}" FontSize="12px" HorizontalAlignment="Left" TextAlignment="Center" Margin="0,12,0,0">
diff --git a/.Source/GTweak/Windows/LoadingWindow.xaml b/.Source/GTweak/Windows/LoadingWindow.xaml
index cc343488..1fd863a6 100644
--- a/.Source/GTweak/Windows/LoadingWindow.xaml
+++ b/.Source/GTweak/Windows/LoadingWindow.xaml
@@ -22,16 +22,18 @@
<StackPanel Orientation="Vertical" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,30,0,0">
- <TextBlock x:Name="TextTittle" Text="{DynamicResource title0_load}" Foreground="{StaticResource Color_TetBlock_Inactivity}" FontFamily="{StaticResource Jura}" FontSize="9pt" HorizontalAlignment="Center" TextAlignment="Center" FontStretch="Medium">
+ <TextBlock x:Name="TextTittle" Foreground="{StaticResource Color_TetBlock_Inactivity}" FontFamily="{StaticResource Jura}" FontSize="9pt" HorizontalAlignment="Center" TextAlignment="Center" FontStretch="Medium">
+ <Run Text="{StaticResource title_load}" /><Run x:Name="DotRun" Text="" />
<TextBlock.Triggers>
- <EventTrigger RoutedEvent="TextBlock.Loaded">
+ <EventTrigger RoutedEvent="FrameworkElement.Loaded">
<BeginStoryboard>
- <Storyboard>
- <StringAnimationUsingKeyFrames Storyboard.TargetName="TextTittle" Storyboard.TargetProperty="(TextBlock.Text)" Duration="0:0:0:8" SpeedRatio="10" FillBehavior="HoldEnd" RepeatBehavior="Forever">
- <DiscreteStringKeyFrame Value="{DynamicResource title1_load}" KeyTime="0:0:0:1"/>
- <DiscreteStringKeyFrame Value="{DynamicResource title2_load}" KeyTime="0:0:0:2" />
- <DiscreteStringKeyFrame Value="{DynamicResource title3_load}" KeyTime="0:0:0:3" />
- </StringAnimationUsingKeyFrames>
+ <Storyboard Timeline.DesiredFrameRate="240" RepeatBehavior="Forever" Duration="0:0:0.8">
+ <ObjectAnimationUsingKeyFrames Storyboard.TargetName="DotRun" Storyboard.TargetProperty="Text">
+ <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="" />
+ <DiscreteObjectKeyFrame KeyTime="0:0:0.2" Value="." />
+ <DiscreteObjectKeyFrame KeyTime="0:0:0.4" Value=".." />
+ <DiscreteObjectKeyFrame KeyTime="0:0:0.6" Value="..." />
+ </ObjectAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
diff --git a/.Source/GTweak/Windows/MainWindow.xaml b/.Source/GTweak/Windows/MainWindow.xaml
index 476fa4fe..c279d6ef 100644
--- a/.Source/GTweak/Windows/MainWindow.xaml
+++ b/.Source/GTweak/Windows/MainWindow.xaml
@@ -97,7 +97,7 @@
</Trigger>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)" From="-10" To="0" Duration="0:0:1.2" DecelerationRatio="0.6">
<DoubleAnimation.EasingFunction>
<ElasticEase/>
@@ -162,7 +162,7 @@
</Trigger>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
- <Storyboard Timeline.DesiredFrameRate="400">
+ <Storyboard Timeline.DesiredFrameRate="240">
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)" From="-10" To="0" Duration="0:0:1.2" DecelerationRatio="0.6">
<DoubleAnimation.EasingFunction>
<ElasticEase/>
diff --git a/.Source/GTweak/Windows/MainWindow.xaml.cs b/.Source/GTweak/Windows/MainWindow.xaml.cs
index b0290d1e..d0291a2d 100644
--- a/.Source/GTweak/Windows/MainWindow.xaml.cs
+++ b/.Source/GTweak/Windows/MainWindow.xaml.cs
@@ -65,8 +65,8 @@ namespace GTweak
Duration = TimeSpan.FromSeconds(1)
};
- Timeline.SetDesiredFrameRate(rotateAnimation, 400);
- Timeline.SetDesiredFrameRate(widthAnimation, 400);
+ Timeline.SetDesiredFrameRate(rotateAnimation, 240);
+ Timeline.SetDesiredFrameRate(widthAnimation, 240);
Storyboard.SetTarget(rotateAnimation, ImageSettings);
Storyboard.SetTargetProperty(rotateAnimation, new PropertyPath("(UIElement.RenderTransform).(RotateTransform.Angle)"));
@@ -105,7 +105,7 @@ namespace GTweak
e.Cancel = true;
DoubleAnimation doubleAnim = new DoubleAnimation(0, (Duration)TimeSpan.FromSeconds(0.1));
doubleAnim.Completed += delegate { Close(); };
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
BeginAnimation(OpacityProperty, doubleAnim);
}
@@ -126,7 +126,7 @@ namespace GTweak
new UpdateWindow().ShowDialog();
}
};
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
BeginAnimation(OpacityProperty, doubleAnim);
new TypewriterAnimation(UtilityTitle.Text, UtilityTitle, TimeSpan.FromSeconds(0.4));
}
diff --git a/.Source/GTweak/Windows/MessageWindow.xaml.cs b/.Source/GTweak/Windows/MessageWindow.xaml.cs
index 4cdc456d..16f48a14 100644
--- a/.Source/GTweak/Windows/MessageWindow.xaml.cs
+++ b/.Source/GTweak/Windows/MessageWindow.xaml.cs
@@ -56,7 +56,7 @@ namespace GTweak.Windows
e.Cancel = true;
DoubleAnimation doubleAnim = new DoubleAnimation(0, TimeSpan.FromSeconds(0.1));
doubleAnim.Completed += delegate { timer.Stop(); Application.Current.Shutdown(); };
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
BeginAnimation(OpacityProperty, doubleAnim);
}
@@ -68,7 +68,7 @@ namespace GTweak.Windows
To = 1,
Duration = TimeSpan.FromSeconds(0.2)
};
- Timeline.SetDesiredFrameRate(doublAnim, 400);
+ Timeline.SetDesiredFrameRate(doublAnim, 240);
BeginAnimation(OpacityProperty, doublAnim);
}
}
diff --git a/.Source/GTweak/Windows/NotificationWindow.xaml.cs b/.Source/GTweak/Windows/NotificationWindow.xaml.cs
index 1bc985a6..ae59ea0e 100644
--- a/.Source/GTweak/Windows/NotificationWindow.xaml.cs
+++ b/.Source/GTweak/Windows/NotificationWindow.xaml.cs
@@ -110,8 +110,8 @@ namespace GTweak.Windows
Duration = TimeSpan.FromSeconds(0.25)
};
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
- Timeline.SetDesiredFrameRate(doubleAnimKeyFrames, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
+ Timeline.SetDesiredFrameRate(doubleAnimKeyFrames, 240);
BeginAnimation(Canvas.LeftProperty, doubleAnimKeyFrames);
BeginAnimation(OpacityProperty, doubleAnim);
@@ -124,7 +124,7 @@ namespace GTweak.Windows
e.Cancel = true;
DoubleAnimation doubleAnimation = new DoubleAnimation(0, TimeSpan.FromSeconds(0.1));
doubleAnimation.Completed += delegate { Close(); };
- Timeline.SetDesiredFrameRate(doubleAnimation, 400);
+ Timeline.SetDesiredFrameRate(doubleAnimation, 240);
BeginAnimation(OpacityProperty, doubleAnimation);
}
}
diff --git a/.Source/GTweak/Windows/RebootWindow.xaml.cs b/.Source/GTweak/Windows/RebootWindow.xaml.cs
index 2312d351..abb7e8c9 100644
--- a/.Source/GTweak/Windows/RebootWindow.xaml.cs
+++ b/.Source/GTweak/Windows/RebootWindow.xaml.cs
@@ -22,7 +22,7 @@ namespace GTweak.Windows
EasingFunction = new QuadraticEase(),
Duration = TimeSpan.FromSeconds(1.5)
};
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
doubleAnim.Completed += delegate { SettingsRepository.SelfReboot(); };
RestartProgress.BeginAnimation(ProgressBar.ValueProperty, doubleAnim);
}
diff --git a/.Source/GTweak/Windows/UpdateWindow.xaml.cs b/.Source/GTweak/Windows/UpdateWindow.xaml.cs
index 2e6308c0..60961530 100644
--- a/.Source/GTweak/Windows/UpdateWindow.xaml.cs
+++ b/.Source/GTweak/Windows/UpdateWindow.xaml.cs
@@ -35,7 +35,7 @@ namespace GTweak.Windows
Duration = TimeSpan.FromSeconds(0.3),
EasingFunction = new QuadraticEase()
};
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
}
private void Window_Closing(object sender, CancelEventArgs e)
@@ -44,7 +44,7 @@ namespace GTweak.Windows
e.Cancel = true;
DoubleAnimation doubleAnim = new DoubleAnimation(0, (Duration)TimeSpan.FromSeconds(0.1));
doubleAnim.Completed += delegate { Close(); };
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
BeginAnimation(OpacityProperty, doubleAnim);
}
diff --git a/.Source/GTweak/Windows/WaitingWindow.xaml.cs b/.Source/GTweak/Windows/WaitingWindow.xaml.cs
index 5abcf37d..1ed64877 100644
--- a/.Source/GTweak/Windows/WaitingWindow.xaml.cs
+++ b/.Source/GTweak/Windows/WaitingWindow.xaml.cs
@@ -31,7 +31,7 @@ namespace GTweak.Windows
disablingWinKeys.ptrHook = DisablingWinKeys.SetWindowsHookEx(13, disablingWinKeys.objKeyboardProcess, DisablingWinKeys.GetModuleHandle(objCurrentModule.ModuleName), 1);
Close();
};
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
BeginAnimation(OpacityProperty, doubleAnim);
}
@@ -49,7 +49,7 @@ namespace GTweak.Windows
EasingFunction = new PowerEase(),
Duration = TimeSpan.FromSeconds(0.3)
};
- Timeline.SetDesiredFrameRate(doubleAnim, 400);
+ Timeline.SetDesiredFrameRate(doubleAnim, 240);
BeginAnimation(OpacityProperty, doubleAnim);
}
}