mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Merge pull request #151 from EasternBloxxer/patch-2
Add the future lighting toggle to mods
This commit is contained in:
commit
8a250391d0
@ -125,5 +125,11 @@ namespace Bloxstrap.ViewModels
|
||||
get => App.Settings.Prop.DisableFullscreenOptimizations;
|
||||
set => App.Settings.Prop.DisableFullscreenOptimizations = value;
|
||||
}
|
||||
|
||||
public bool ForceFutureEnabled
|
||||
{
|
||||
get => App.FastFlags.GetValue("FFlagDebugForceFutureIsBrightPhase3") == "True";
|
||||
set => App.FastFlags.SetValue("FFlagDebugForceFutureIsBrightPhase3", value ? "True" : null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<ui:UiPage x:Class="Bloxstrap.Views.Pages.ModsPage"
|
||||
<ui:UiPage x:Class="Bloxstrap.Views.Pages.ModsPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
@ -103,6 +103,7 @@
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<ui:CardControl Grid.Row="0" Margin="0,8,0,0" Padding="16,13,16,12">
|
||||
@ -151,6 +152,15 @@
|
||||
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding IGMenuVersions.Keys, Mode=OneTime}" Text="{Binding SelectedIGMenuVersion, Mode=TwoWay}" />
|
||||
</ui:CardControl>
|
||||
<ui:CardControl Grid.Row="5" Margin="0,8,0,0" Padding="16,13,16,12">
|
||||
<ui:CardControl.Header>
|
||||
<StackPanel>
|
||||
<TextBlock FontSize="14" Text="Force enable Future Is Bright lighting in all games" />
|
||||
<TextBlock Margin="0,2,0,0" FontSize="12" Text="Roblox's experimental lighting engine, normally only enabled by the game developer." Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
|
||||
</StackPanel>
|
||||
</ui:CardControl.Header>
|
||||
<ui:ToggleSwitch IsChecked="{Binding ForceFutureEnabled, Mode=TwoWay}" />
|
||||
</ui:CardControl>
|
||||
<ui:CardControl Grid.Row="6" Margin="0,8,0,0" Padding="16,13,16,12">
|
||||
<ui:CardControl.Header>
|
||||
<StackPanel>
|
||||
<TextBlock FontSize="14" Text="Use mobile interface in desktop app" />
|
||||
|
Loading…
Reference in New Issue
Block a user