Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions WandEnhancer/View/Popups/PatchVectorsPopup.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
</Grid.ColumnDefinitions>

<TextBlock Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" Text="{DynamicResource pv_activate_pro}" />
<CheckBox Grid.Row="0" Grid.Column="1" x:Name="ActivateProBox" HorizontalAlignment="Right" VerticalAlignment="Center"
IsChecked="True" />
<TextBlock Grid.Row="0" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Center" Text="✓ Always Active" Foreground="{DynamicResource MutedForeground}" FontSize="12" />

<TextBlock Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" Text="{DynamicResource pv_devtools}" />
<CheckBox Grid.Row="1" Grid.Column="1" x:Name="DevToolsHotkeyBox" HorizontalAlignment="Right" VerticalAlignment="Center" />
Expand Down
12 changes: 6 additions & 6 deletions WandEnhancer/View/Popups/PatchVectorsPopup.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@ private void OnRemoveScriptClick(object sender, RoutedEventArgs e)

private void OnPatchButtonClick(object sender, RoutedEventArgs e)
{
if (ActivateProBox.IsChecked != true && DisableUpdateBox.IsChecked != true &&
if (DisableUpdateBox.IsChecked != true &&
DevToolsHotkeyBox.IsChecked != true && RemoteWebPanelPreviewBox.IsChecked != true)
{
return;
// ActivatePro is always applied, so we can proceed with just that
// if no other patches are selected
}

var result = new HashSet<EPatchType>();
if (ActivateProBox.IsChecked == true)
{
result.Add(EPatchType.ActivatePro);
}

// Always activate Pro
result.Add(EPatchType.ActivatePro);

if (DisableUpdateBox.IsChecked == true)
{
Expand Down