mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-06-01 18:20:12 +12:00
commit
d2c4bcd435
|
@ -37,8 +37,8 @@ namespace ModAssistant
|
|||
foreach (string file in Directory.EnumerateFiles(ThemeDirectory))
|
||||
{
|
||||
FileInfo info = new FileInfo(file);
|
||||
//FileInfo includes the extension in its Name field, so we have to split the string and select only the actual name.
|
||||
string name = info.Name.Split('.').First();
|
||||
//FileInfo includes the extension in its Name field, so we have to select only the actual name.
|
||||
string name = Path.GetFileNameWithoutExtension(info.Name);
|
||||
//Ignore Themes without the xaml extension and ignore themes with the same names as others.
|
||||
//If requests are made I can instead make a Theme class that splits the pre-installed themes from
|
||||
//user-made ones so that one more user-made Light/Dark theme can be added.
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
<ControlTemplate TargetType="{x:Type GridViewColumnHeader}">
|
||||
<Grid SnapsToDevicePixels="True">
|
||||
<Border Name="HeaderBorder" BorderThickness="0,1,0,1"
|
||||
Margin="-2,-1,-1,0"
|
||||
BorderBrush="{DynamicResource ModColumnBorderBrush}"
|
||||
Background="{DynamicResource ModColumnBackground}">
|
||||
<Grid>
|
||||
|
|
Loading…
Reference in a new issue