mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Remove option for disabling fullscreen optimizations
The option was only introduced because Roblox's installation path wasn't static. Now that it is, this option doesn't need to exist anymore, and it isn't an issue for people to just set it manually now.
This commit is contained in:
parent
3eeebc7a8b
commit
e6f70a0c82
@ -25,6 +25,5 @@ namespace Bloxstrap.Models
|
|||||||
|
|
||||||
// mod preset configuration
|
// mod preset configuration
|
||||||
public bool UseDisableAppPatch { get; set; } = false;
|
public bool UseDisableAppPatch { get; set; } = false;
|
||||||
public bool DisableFullscreenOptimizations { get; set; } = false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -93,13 +93,5 @@
|
|||||||
<ui:Button Icon="Delete16" Content="{x:Static resources:Strings.Menu_Mods_Misc_CustomFont_Remove}" Appearance="Danger" Command="{Binding ManageCustomFontCommand}" Visibility="{Binding DeleteCustomFontVisibility, Mode=OneWay}" />
|
<ui:Button Icon="Delete16" Content="{x:Static resources:Strings.Menu_Mods_Misc_CustomFont_Remove}" Appearance="Danger" Command="{Binding ManageCustomFontCommand}" Visibility="{Binding DeleteCustomFontVisibility, Mode=OneWay}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</controls:OptionControl>
|
</controls:OptionControl>
|
||||||
|
|
||||||
<controls:OptionControl
|
|
||||||
Header="{x:Static resources:Strings.Menu_Mods_Misc_DisableFullscreenOptimisations_Title}"
|
|
||||||
Description="{x:Static resources:Strings.Menu_Mods_Misc_DisableFullscreenOptimisations_Description}"
|
|
||||||
HelpLink="https://devblogs.microsoft.com/directx/demystifying-full-screen-optimizations/"
|
|
||||||
x:Name="FullscreenOptimizationsToggle">
|
|
||||||
<ui:ToggleSwitch IsChecked="{Binding DisableFullscreenOptimizations, Mode=TwoWay}" />
|
|
||||||
</controls:OptionControl>
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ui:UiPage>
|
</ui:UiPage>
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
using System.Windows;
|
using Bloxstrap.UI.ViewModels.Settings;
|
||||||
|
|
||||||
using Bloxstrap.UI.ViewModels.Settings;
|
|
||||||
|
|
||||||
namespace Bloxstrap.UI.Elements.Settings.Pages
|
namespace Bloxstrap.UI.Elements.Settings.Pages
|
||||||
{
|
{
|
||||||
@ -13,10 +11,6 @@ namespace Bloxstrap.UI.Elements.Settings.Pages
|
|||||||
{
|
{
|
||||||
DataContext = new ModsViewModel();
|
DataContext = new ModsViewModel();
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
// fullscreen optimizations were only added in windows 10 build 17093
|
|
||||||
if (Environment.OSVersion.Version.Build < 17093)
|
|
||||||
this.FullscreenOptimizationsToggle.Visibility = Visibility.Collapsed;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -95,11 +95,5 @@ namespace Bloxstrap.UI.ViewModels.Settings
|
|||||||
});
|
});
|
||||||
|
|
||||||
public FontModPresetTask TextFontTask { get; } = new();
|
public FontModPresetTask TextFontTask { get; } = new();
|
||||||
|
|
||||||
public bool DisableFullscreenOptimizations
|
|
||||||
{
|
|
||||||
get => App.Settings.Prop.DisableFullscreenOptimizations;
|
|
||||||
set => App.Settings.Prop.DisableFullscreenOptimizations = value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user