Run Visual Studio's Auto Format on all changed files

This commit is contained in:
Caeden Statia 2020-02-23 20:40:40 -08:00
parent 225a1f2b91
commit e091f8dfde
7 changed files with 25 additions and 16 deletions

View file

@ -261,7 +261,8 @@ namespace ModAssistant
ResourceDictionary dictionary = new ResourceDictionary();
dictionary.Source = resourceSource;
theme.ThemeDictionary = dictionary;
}catch(Exception ex)
}
catch (Exception ex)
{
string message = string.Format((string)Application.Current.FindResource("Themes:FailedToLoadXaml"), name, ex.Message);
MessageBox.Show(message);

View file

@ -71,7 +71,7 @@
Please read the Beginners Guide on the
<Hyperlink NavigateUri="https://bsmg.wiki/beginners-guide" local:HyperlinkExtensions.IsExternal="True">
Wiki
</Hyperlink>.
</Hyperlink> .
</Span>
<sys:String x:Key="Intro:AgreeButton">I Agree</sys:String>
<sys:String x:Key="Intro:DisagreeButton">Disagree</sys:String>
@ -169,7 +169,7 @@
<Bold>please purchase the game
<Hyperlink NavigateUri="https://beatgames.com/" local:HyperlinkExtensions.IsExternal="True">
HERE
</Hyperlink>.
</Hyperlink> .
</Bold>
</Span>
<Span x:Key="Invalid:List:Line2">
@ -177,14 +177,14 @@
<Bold>not</Bold> pirated, please
<Hyperlink NavigateUri="https://bsmg.wiki/support#clean-installation" local:HyperlinkExtensions.IsExternal="True">
do a clean install
</Hyperlink>.
</Hyperlink> .
</Span>
<Span x:Key="Invalid:List:Line3">
If those don't help, ask for support in the
<Span Foreground="Blue">#support</Span> channel in
<Hyperlink NavigateUri="https://discord.gg/beatsabermods" local:HyperlinkExtensions.IsExternal="True">
BSMG
</Hyperlink>.
</Hyperlink> .
</Span>
<sys:String x:Key="Invalid:BoughtGame1">If you used to have a pirated version but have since bought the game</sys:String>
<sys:String x:Key="Invalid:SelectFolderButton">Select Folder</sys:String>

View file

@ -87,7 +87,9 @@
<SolidColorBrush x:Key="OptionsIconColor" Color="{DynamicResource ResourceKey=StandardIcon}" />
<!--Background and Side image settings.-->
<Stretch x:Key="BackgroundImageStretch">UniformToFill</Stretch> <!-- Fill, None, Uniform, UniformToFill -->
<VerticalAlignment x:Key="SideImageYPosition">Bottom</VerticalAlignment> <!-- Bottom, Center, Top, Stretch -->
<Stretch x:Key="BackgroundImageStretch">UniformToFill</Stretch>
<!-- Fill, None, Uniform, UniformToFill -->
<VerticalAlignment x:Key="SideImageYPosition">Bottom</VerticalAlignment>
<!-- Bottom, Center, Top, Stretch -->
</ResourceDictionary>

View file

@ -1,7 +1,7 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- This is a default theme for the Scrollbars, in case the provided Theme doesn't have them -->
<!-- Scroll Bars -->
<SolidColorBrush x:Key="ScrollBarBackground" Color="{DynamicResource ResourceKey=StandardSecondary}"/>
<SolidColorBrush x:Key="ScrollBarBorder" Color="{DynamicResource ResourceKey=StandardBorder}"/>

View file

@ -75,7 +75,9 @@
<SolidColorBrush x:Key="OptionsIconColor" Color="White"/>
<!-- Background and Side image settings. -->
<Stretch x:Key="BackgroundImageStretch">UniformToFill</Stretch> <!-- Fill, None, Uniform, UniformToFill -->
<VerticalAlignment x:Key="SideImageYPosition">Bottom</VerticalAlignment> <!-- Bottom, Center, Top, Stretch -->
<Stretch x:Key="BackgroundImageStretch">UniformToFill</Stretch>
<!-- Fill, None, Uniform, UniformToFill -->
<VerticalAlignment x:Key="SideImageYPosition">Bottom</VerticalAlignment>
<!-- Bottom, Center, Top, Stretch -->
</ResourceDictionary>

View file

@ -86,7 +86,9 @@
<SolidColorBrush x:Key="OptionsIconColor" Color="#4E3BCE" />
<!--Background and Side image settings.-->
<Stretch x:Key="BackgroundImageStretch">UniformToFill</Stretch> <!-- Fill, None, Uniform, UniformToFill -->
<VerticalAlignment x:Key="SideImageYPosition">Bottom</VerticalAlignment> <!-- Bottom, Center, Top, Stretch -->
<Stretch x:Key="BackgroundImageStretch">UniformToFill</Stretch>
<!-- Fill, None, Uniform, UniformToFill -->
<VerticalAlignment x:Key="SideImageYPosition">Bottom</VerticalAlignment>
<!-- Bottom, Center, Top, Stretch -->
</ResourceDictionary>

View file

@ -102,7 +102,9 @@
<!-- Options Default: #4E3BCE -->
<SolidColorBrush x:Key="OptionsIconColor" Color="{DynamicResource ResourceKey=StandardIcon}"/>
<Stretch x:Key="BackgroundImageStretch">UniformToFill</Stretch> <!-- Fill, None, Uniform, UniformToFill -->
<VerticalAlignment x:Key="SideImageYPosition">Bottom</VerticalAlignment> <!-- Bottom, Center, Top, Stretch -->
<Stretch x:Key="BackgroundImageStretch">UniformToFill</Stretch>
<!-- Fill, None, Uniform, UniformToFill -->
<VerticalAlignment x:Key="SideImageYPosition">Bottom</VerticalAlignment>
<!-- Bottom, Center, Top, Stretch -->
</ResourceDictionary>