diff --git a/Bloxstrap/Models/Settings.cs b/Bloxstrap/Models/Settings.cs index 11ce9c3..ebe594f 100644 --- a/Bloxstrap/Models/Settings.cs +++ b/Bloxstrap/Models/Settings.cs @@ -25,6 +25,5 @@ namespace Bloxstrap.Models // mod preset configuration public bool UseDisableAppPatch { get; set; } = false; - public bool DisableFullscreenOptimizations { get; set; } = false; } } diff --git a/Bloxstrap/UI/Elements/Settings/Pages/ModsPage.xaml b/Bloxstrap/UI/Elements/Settings/Pages/ModsPage.xaml index bb0e06f..af34a12 100644 --- a/Bloxstrap/UI/Elements/Settings/Pages/ModsPage.xaml +++ b/Bloxstrap/UI/Elements/Settings/Pages/ModsPage.xaml @@ -93,13 +93,5 @@ - - - - diff --git a/Bloxstrap/UI/Elements/Settings/Pages/ModsPage.xaml.cs b/Bloxstrap/UI/Elements/Settings/Pages/ModsPage.xaml.cs index 4e7e204..dc82f08 100644 --- a/Bloxstrap/UI/Elements/Settings/Pages/ModsPage.xaml.cs +++ b/Bloxstrap/UI/Elements/Settings/Pages/ModsPage.xaml.cs @@ -1,6 +1,4 @@ -using System.Windows; - -using Bloxstrap.UI.ViewModels.Settings; +using Bloxstrap.UI.ViewModels.Settings; namespace Bloxstrap.UI.Elements.Settings.Pages { @@ -13,10 +11,6 @@ namespace Bloxstrap.UI.Elements.Settings.Pages { DataContext = new ModsViewModel(); InitializeComponent(); - - // fullscreen optimizations were only added in windows 10 build 17093 - if (Environment.OSVersion.Version.Build < 17093) - this.FullscreenOptimizationsToggle.Visibility = Visibility.Collapsed; } } } diff --git a/Bloxstrap/UI/ViewModels/Settings/ModsViewModel.cs b/Bloxstrap/UI/ViewModels/Settings/ModsViewModel.cs index f36b897..0e85f6c 100644 --- a/Bloxstrap/UI/ViewModels/Settings/ModsViewModel.cs +++ b/Bloxstrap/UI/ViewModels/Settings/ModsViewModel.cs @@ -95,11 +95,5 @@ namespace Bloxstrap.UI.ViewModels.Settings }); public FontModPresetTask TextFontTask { get; } = new(); - - public bool DisableFullscreenOptimizations - { - get => App.Settings.Prop.DisableFullscreenOptimizations; - set => App.Settings.Prop.DisableFullscreenOptimizations = value; - } } }