mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-06-01 18:20:12 +12:00
typos
This commit is contained in:
parent
afebb611e3
commit
e45e88b371
|
@ -71,7 +71,6 @@ namespace ModAssistant
|
|||
Themes.ApplyWindowsTheme();
|
||||
return;
|
||||
}
|
||||
MessageBox.Show("gothere");
|
||||
try
|
||||
{
|
||||
Themes.ApplyTheme(savedTheme, false);
|
||||
|
@ -101,7 +100,7 @@ namespace ModAssistant
|
|||
{
|
||||
MainWindow.Instance.MainText = string.Format((string)Application.Current.FindResource("Themes:ThemeSet"), theme);
|
||||
}
|
||||
LoadWaifu(theme);
|
||||
LoadWaifus(theme);
|
||||
ReloadIcons();
|
||||
}
|
||||
else
|
||||
|
@ -199,7 +198,11 @@ namespace ModAssistant
|
|||
return dictionary;
|
||||
}
|
||||
|
||||
private static void LoadWaifu(string name)
|
||||
/// <summary>
|
||||
/// Loads the waifus from the Themes folder if they exist.
|
||||
/// </summary>
|
||||
/// <param name="name">Theme's name.</param>
|
||||
private static void LoadWaifus(string name)
|
||||
{
|
||||
string location = Path.Combine(Environment.CurrentDirectory, "Themes");
|
||||
BitmapImage background = null;
|
||||
|
@ -214,7 +217,6 @@ namespace ModAssistant
|
|||
}
|
||||
MainWindow.Instance.BackgroundImage.ImageSource = background;
|
||||
MainWindow.Instance.SideImage.ImageSource = sidebar;
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
<SolidColorBrush x:Key="OptionsIconColor" Color="{DynamicResource ResourceKey=StandardIcon}" />
|
||||
|
||||
<!--Background and Side image settings.-->
|
||||
<Stretch x:Key="BackGroundImageStretch">UniformToFill</Stretch> <!-- Fill, None, Uniform, UniformToFill -->
|
||||
<Stretch x:Key="BackgroundImageStretch">UniformToFill</Stretch> <!-- Fill, None, Uniform, UniformToFill -->
|
||||
<AlignmentY x:Key="SideImageYPosition">Bottom</AlignmentY> <!-- Bottom, Center, Top -->
|
||||
|
||||
</ResourceDictionary>
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
<SolidColorBrush x:Key="OptionsIconColor" Color="White"/>
|
||||
|
||||
<!-- Background and Side image settings. -->
|
||||
<Stretch x:Key="BackGroundImageStretch">UniformToFill</Stretch> <!-- Fill, None, Uniform, UniformToFill -->
|
||||
<Stretch x:Key="BackgroundImageStretch">UniformToFill</Stretch> <!-- Fill, None, Uniform, UniformToFill -->
|
||||
<AlignmentY x:Key="SideImageYPosition">Bottom</AlignmentY> <!-- Bottom, Center, Top -->
|
||||
|
||||
</ResourceDictionary>
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
<SolidColorBrush x:Key="OptionsIconColor" Color="#4E3BCE" />
|
||||
|
||||
<!--Background and Side image settings.-->
|
||||
<Stretch x:Key="BackGroundImageStretch">UniformToFill</Stretch> <!-- Fill, None, Uniform, UniformToFill -->
|
||||
<Stretch x:Key="BackgroundImageStretch">UniformToFill</Stretch> <!-- Fill, None, Uniform, UniformToFill -->
|
||||
<AlignmentY x:Key="SideImageYPosition">Bottom</AlignmentY> <!-- Bottom, Center, Top -->
|
||||
|
||||
</ResourceDictionary>
|
||||
|
|
Loading…
Reference in a new issue