Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
-more blur for hidden ip -correction text noty
Greedeks30f8f53fcb94
diff --git a/.Source/GTweak/Core/ViewModel/PagesViewModel.cs b/.Source/GTweak/Core/ViewModel/PagesViewModel.csindex 2f1428b0..3e8111ad 100644--- a/.Source/GTweak/Core/ViewModel/PagesViewModel.cs+++ b/.Source/GTweak/Core/ViewModel/PagesViewModel.cs@@ -149,7 +149,7 @@ namespace GTweak.Core.ViewModelif (Settings.IsHiddenIpAddress & !SystemData.СomputerСonfiguration.isNoInternetConnection & !SystemData.СomputerСonfiguration.isInternetLimited){- SetBlurValue = 15;+ SetBlurValue = 20;DisplayImageHidden = (DrawingImage)Application.Current.Resources["DI_Show"];}elsediff --git a/.Source/GTweak/Language/lang.ru.xaml b/.Source/GTweak/Language/lang.ru.xamlindex 771690d5..e19ae89d 100644--- a/.Source/GTweak/Language/lang.ru.xaml+++ b/.Source/GTweak/Language/lang.ru.xaml@@ -54,7 +54,7 @@<v:String x:Key="clearingcache_notification">Произведена очистка системного кэша файлов</v:String><v:String x:Key="import_warning_notification">Данный файл не подходит для импорта</v:String><v:String x:Key="import_empty_notification">Этот файл пуст, применение твиков невозможно</v:String>- <v:String x:Key="export_warning_notification">Это не имеет смысла, файл будет пустым. Сначала примените хотя бы один твик</v:String>+ <v:String x:Key="export_warning_notification">Это не имеет смысла, сначала примените хотя бы один твик</v:String><v:String x:Key="clear_ram_notification">Очистка кратковременной памяти и временных файлов произведена</v:String><v:String x:Key="disable_recovery_notification">Восстановление системы отключено, точки восстановления недоступны</v:String><v:String x:Key="warndisable_recovery_notification">У вас уже отключена система восстановления</v:String>diff --git a/.Source/GTweak/Language/lang.xaml b/.Source/GTweak/Language/lang.xamlindex 5da4d142..0ba6856d 100644--- a/.Source/GTweak/Language/lang.xaml+++ b/.Source/GTweak/Language/lang.xaml@@ -54,7 +54,7 @@<v:String x:Key="clearingcache_notification">The system file cache has been cleared</v:String><v:String x:Key="import_warning_notification">This file is not suitable for import</v:String><v:String x:Key="import_empty_notification">This file is empty, the application of tweaks is not possible</v:String>- <v:String x:Key="export_warning_notification">It doesn't make sense, the file will be empty. First, apply at least one tweak</v:String>+ <v:String x:Key="export_warning_notification">It doesn't make sense, apply at least one tweak first</v:String><v:String x:Key="clear_ram_notification">Short-term memory and temporary files have been cleared</v:String><v:String x:Key="disable_recovery_notification">System recovery is disabled, recovery points are unavailable</v:String><v:String x:Key="warndisable_recovery_notification">You have already disabled the recovery system</v:String>diff --git a/.Source/GTweak/View/InformationSystemView.xaml b/.Source/GTweak/View/InformationSystemView.xamlindex 8614de1e..be87d42f 100644--- a/.Source/GTweak/View/InformationSystemView.xaml+++ b/.Source/GTweak/View/InformationSystemView.xaml@@ -177,7 +177,7 @@<StackPanel Orientation="Horizontal"><TextBlock x:Name="IpAddress" Text="{Binding DisplayIpAddress}" Style="{StaticResource Text}" HorizontalAlignment="Left" Margin="15,0,0,0" Foreground="#ffffff" Height="Auto" Width="Auto" PreviewMouseLeftButtonDown="TextBlock_PreviewMouseDown" Cursor="Hand"><TextBlock.Effect>- <BlurEffect Radius="{Binding SetBlurValue}"/>+ <BlurEffect Radius="{Binding SetBlurValue}" RenderingBias="Performance"/></TextBlock.Effect></TextBlock><Image x:Name="ImageHidden" Source="{Binding DisplayImageHidden}" Style="{StaticResource Apps}" Height="20" Width="20" Margin="10,0,0,0" PreviewMouseDown="ImageHidden_PreviewMouseDown"/>diff --git a/.Source/GTweak/View/InformationSystemView.xaml.cs b/.Source/GTweak/View/InformationSystemView.xaml.csindex 03f9bf4f..44bc5375 100644--- a/.Source/GTweak/View/InformationSystemView.xaml.cs+++ b/.Source/GTweak/View/InformationSystemView.xaml.cs@@ -89,22 +89,25 @@ namespace GTweak.ViewTimeline.SetDesiredFrameRate(doubleAnim, 400);CopyTextToastBody.BeginAnimation(ContextMenu.OpacityProperty, doubleAnim);}+private void ImageHidden_PreviewMouseDown(object sender, MouseButtonEventArgs e){if (e.LeftButton == MouseButtonState.Pressed){- DoubleAnimation doubleAnim = new DoubleAnimation()- {- From = Settings.IsHiddenIpAddress ? 15: 0,- To = Settings.IsHiddenIpAddress ? 0 : 15,- EasingFunction = new QuadraticEase(),- Duration = TimeSpan.FromSeconds(0.3)- };- Timeline.SetDesiredFrameRate(doubleAnim, 400);- IpAddress.Effect.BeginAnimation(BlurEffect.RadiusProperty, doubleAnim);+ Parallel.Invoke(() => {+ DoubleAnimation doubleAnim = new DoubleAnimation()+ {+ From = Settings.IsHiddenIpAddress ? 20 : 0,+ To = Settings.IsHiddenIpAddress ? 0 : 20,+ EasingFunction = new QuadraticEase(),+ Duration = TimeSpan.FromSeconds(0.2)+ };+ Timeline.SetDesiredFrameRate(doubleAnim, 400);+ IpAddress.Effect.BeginAnimation(BlurEffect.RadiusProperty, doubleAnim);- Settings.ChangingParameters(!Settings.IsHiddenIpAddress, "HiddenIP");- DataContext = new InformationSystemVM();+ Settings.ChangingParameters(!Settings.IsHiddenIpAddress, "HiddenIP");+ DataContext = new InformationSystemVM();+ });}}