diff --git a/Bloxstrap/UI/Elements/Settings/MainWindow.xaml b/Bloxstrap/UI/Elements/Settings/MainWindow.xaml index ffb58d5..bfb3f31 100644 --- a/Bloxstrap/UI/Elements/Settings/MainWindow.xaml +++ b/Bloxstrap/UI/Elements/Settings/MainWindow.xaml @@ -12,7 +12,7 @@ d:DataContext="{d:DesignInstance dmodels:MainWindowViewModel, IsDesignTimeCreatable=True}" Title="{x:Static resources:Strings.Menu_Title}" MinWidth="960" - Width="980" + Width="1000" Height="580" Background="{ui:ThemeResource ApplicationBackgroundBrush}" ExtendsContentIntoTitleBar="True" diff --git a/Bloxstrap/UI/Elements/Settings/Pages/FastFlagEditorPage.xaml.cs b/Bloxstrap/UI/Elements/Settings/Pages/FastFlagEditorPage.xaml.cs index cad94ba..4577618 100644 --- a/Bloxstrap/UI/Elements/Settings/Pages/FastFlagEditorPage.xaml.cs +++ b/Bloxstrap/UI/Elements/Settings/Pages/FastFlagEditorPage.xaml.cs @@ -27,9 +27,9 @@ namespace Bloxstrap.UI.Elements.Settings.Pages // values must match the entire string to avoid cases where half the string // matches but the filter would still be invalid - private readonly Regex _boolFilterPattern = new("(?:true|false)(;[\\d]{1,})+$"); - private readonly Regex _intFilterPattern = new("([\\d]{1,})?(;[\\d]{1,})+$"); - private readonly Regex _stringFilterPattern = new("^[^;]*(;[\\d]{1,})+$"); + private readonly Regex _boolFilterPattern = new("^(?:true|false)(;[\\d]{1,})+$", RegexOptions.IgnoreCase); + private readonly Regex _intFilterPattern = new("^([\\d]{1,})?(;[\\d]{1,})+$", RegexOptions.IgnoreCase); + private readonly Regex _stringFilterPattern = new("^[^;]*(;[\\d]{1,})+$", RegexOptions.IgnoreCase); private bool _showPresets = false; private string _searchFilter = "";