From a6d5d9968d269061165004d4105798b8597ed22e Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Mon, 25 Sep 2023 17:43:06 +0100 Subject: [PATCH] Fix font picker being hidden on old OS versions oops --- .../UI/Elements/Menu/Pages/ModsPage.xaml | 50 +++++++++---------- .../UI/Elements/Menu/Pages/ModsPage.xaml.cs | 2 +- 2 files changed, 25 insertions(+), 27 deletions(-) diff --git a/Bloxstrap/UI/Elements/Menu/Pages/ModsPage.xaml b/Bloxstrap/UI/Elements/Menu/Pages/ModsPage.xaml index 51727ff..e9608ba 100644 --- a/Bloxstrap/UI/Elements/Menu/Pages/ModsPage.xaml +++ b/Bloxstrap/UI/Elements/Menu/Pages/ModsPage.xaml @@ -121,33 +121,31 @@ - - - - - - - - Forces every in-game font to be a font that you choose. - - - + + + - - + + + Forces every in-game font to be a font that you choose. + - - - - - - - A Windows feature that intends to improve fullscreen performance. See here for more information. - - - - - - + + + + + + + + + + + + A Windows feature that intends to improve fullscreen performance. See here for more information. + + + + + diff --git a/Bloxstrap/UI/Elements/Menu/Pages/ModsPage.xaml.cs b/Bloxstrap/UI/Elements/Menu/Pages/ModsPage.xaml.cs index d46903e..8ae448b 100644 --- a/Bloxstrap/UI/Elements/Menu/Pages/ModsPage.xaml.cs +++ b/Bloxstrap/UI/Elements/Menu/Pages/ModsPage.xaml.cs @@ -16,7 +16,7 @@ namespace Bloxstrap.UI.Elements.Menu.Pages // fullscreen optimizations were only added in windows 10 build 17093 if (Environment.OSVersion.Version.Build < 17093) - this.MiscellaneousOptions.Visibility = Visibility.Collapsed; + this.FullscreenOptimizationsToggle.Visibility = Visibility.Collapsed; } } }