Skip to content

Commit

Permalink
Remove unused FFlag preset configs
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Jun 17, 2024
1 parent b716d28 commit e8d3114
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Bloxstrap/FastFlagManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ public class FastFlagManager : JsonManager<Dictionary<string, object>>
public static IReadOnlyDictionary<RenderingMode, string> RenderingModes => new Dictionary<RenderingMode, string>
{
{ RenderingMode.Default, "None" },
{ RenderingMode.Vulkan, "Vulkan" },
// { RenderingMode.Vulkan, "Vulkan" },
{ RenderingMode.D3D11, "D3D11" },
{ RenderingMode.D3D10, "D3D10" },
{ RenderingMode.OpenGL, "OpenGL" }
// { RenderingMode.OpenGL, "OpenGL" }
};

public static IReadOnlyDictionary<LightingMode, string> LightingModes => new Dictionary<LightingMode, string>
Expand Down
13 changes: 0 additions & 13 deletions Bloxstrap/UI/Elements/Menu/Pages/FastFlagsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,6 @@
<ui:ToggleSwitch IsChecked="{Binding GuiHidingEnabled, Mode=TwoWay}" />
</controls:OptionControl>

<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_Materials_Title}"
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_Materials_Description}"
HelpLink="https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#old-material-textures">
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding MaterialVersions.Keys, Mode=OneTime}" Text="{Binding SelectedMaterialVersion, Mode=TwoWay}">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=., Converter={StaticResource ResourceConverter}, ConverterParameter='Enums.FlagPresets.MaterialVersion.'}" />
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</controls:OptionControl>

<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_RenderingMode_Title}"
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_RenderingMode_Description}">
Expand Down

0 comments on commit e8d3114

Please sign in to comment.