mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-02 05:43:42 +01:00
Introducing custom Sort Order for mods and collapsible folders inside the mod selector based on '/' in the sort order.
This commit is contained in:
parent
702e3b9305
commit
d52086b69c
7 changed files with 157 additions and 13 deletions
|
|
@ -11,6 +11,7 @@ namespace Penumbra.Mod
|
|||
public DirectoryInfo BasePath;
|
||||
public ModMeta Meta;
|
||||
public ModResources Resources;
|
||||
public string SortOrder;
|
||||
|
||||
public FileInfo MetaFile { get; set; }
|
||||
|
||||
|
|
@ -20,6 +21,7 @@ namespace Penumbra.Mod
|
|||
Meta = meta;
|
||||
Resources = resources;
|
||||
MetaFile = MetaFileInfo( basePath );
|
||||
SortOrder = meta.Name;
|
||||
}
|
||||
|
||||
public static FileInfo MetaFileInfo( DirectoryInfo basePath )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue