Skip to content

Commit

Permalink
Update version to 9.6.3, add popup for theme change with warning (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimon222 authored Nov 27, 2023
1 parent ed6aeb5 commit 7925dc0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions WFInfo/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("9.6.2.0")]
[assembly: AssemblyFileVersion("9.6.2.0")]
[assembly: AssemblyVersion("9.6.3.0")]
[assembly: AssemblyFileVersion("9.6.3.0")]
4 changes: 1 addition & 3 deletions WFInfo/Settings/SettingsWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,7 @@
BorderBrush="#FF0F0F0F"
ItemsSource="{Binding Source={StaticResource enumWFTheme}}"
SelectedItem="{Binding SettingsViewModel.ThemeSelection}"
Margin="5,4" Template="{DynamicResource ComboBoxTemplate}" Style="{DynamicResource ComboBoxStyle1}">

</ComboBox>
Margin="5,4" Template="{DynamicResource ComboBoxTemplate}" Style="{DynamicResource ComboBoxStyle1}" DropDownClosed="ThemeSelectionComboBox_OnDropDownClosed"/>

<Label Visibility="{Binding SettingsViewModel.OsSupportsHDR, Converter={StaticResource BoolVisibilityConverter}}" Content="HDR" Grid.Column="0" Grid.Row="1"/>
<Label Visibility="{Binding SettingsViewModel.OsSupportsHDR, Converter={StaticResource BoolVisibilityConverter}}" Grid.Row="1" Grid.Column="1" ToolTip="Auto - Detect based on game settings&#x0a;On - Always use HDR capture (will slightly change colors) &#x0a;Off - Always use SDR capture (will result in overblown HDR screenshots) &#x0a;&#x0a;It is recommended to use a custom theme with HDR enabled, this mode only compresses the dynamic color range." Margin="0,5,10,5" Padding="3" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" HorizontalAlignment="Right" Width="20">
Expand Down
5 changes: 5 additions & 0 deletions WFInfo/Settings/SettingsWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,5 +265,10 @@ private void ConfigureTheme_button_MouseLeftButtonDown(object sender, MouseButto
{
ThemeAdjuster.ShowThemeAdjuster();
}

private void ThemeSelectionComboBox_OnDropDownClosed(object sender, EventArgs e)
{
MessageBoxResult messageBoxResult = MessageBox.Show("This option will not change WFInfo screen style. It will force app to think you have selected this theme in Warframe (and will use its pixel colors for item scanning). Unless you know what you're doing, leave Auto selected.", "Change of target theme", System.Windows.MessageBoxButton.OK);
}
}
}

0 comments on commit 7925dc0

Please sign in to comment.