mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 07:17:53 +01:00
Fix missing updates for OtterGui.
This commit is contained in:
parent
baca3cdec2
commit
8527bfa29c
3 changed files with 11 additions and 13 deletions
|
|
@ -37,11 +37,11 @@ public sealed class ModFileSystem : FileSystem<Mod>, IDisposable, ISavable, ISer
|
|||
|
||||
public struct ImportDate : ISortMode<Mod>
|
||||
{
|
||||
public string Name
|
||||
=> "Import Date (Older First)";
|
||||
public ReadOnlySpan<byte> Name
|
||||
=> "Import Date (Older First)"u8;
|
||||
|
||||
public string Description
|
||||
=> "In each folder, sort all subfolders lexicographically, then sort all leaves using their import date.";
|
||||
public ReadOnlySpan<byte> Description
|
||||
=> "In each folder, sort all subfolders lexicographically, then sort all leaves using their import date."u8;
|
||||
|
||||
public IEnumerable<IPath> GetChildren(Folder f)
|
||||
=> f.GetSubFolders().Cast<IPath>().Concat(f.GetLeaves().OrderBy(l => l.Value.ImportDate));
|
||||
|
|
@ -49,11 +49,11 @@ public sealed class ModFileSystem : FileSystem<Mod>, IDisposable, ISavable, ISer
|
|||
|
||||
public struct InverseImportDate : ISortMode<Mod>
|
||||
{
|
||||
public string Name
|
||||
=> "Import Date (Newer First)";
|
||||
public ReadOnlySpan<byte> Name
|
||||
=> "Import Date (Newer First)"u8;
|
||||
|
||||
public string Description
|
||||
=> "In each folder, sort all subfolders lexicographically, then sort all leaves using their inverse import date.";
|
||||
public ReadOnlySpan<byte> Description
|
||||
=> "In each folder, sort all subfolders lexicographically, then sort all leaves using their inverse import date."u8;
|
||||
|
||||
public IEnumerable<IPath> GetChildren(Folder f)
|
||||
=> f.GetSubFolders().Cast<IPath>().Concat(f.GetLeaves().OrderByDescending(l => l.Value.ImportDate));
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
using ImSharp;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using OtterGui.Extensions;
|
||||
using Penumbra.Mods.Groups;
|
||||
using Penumbra.Mods.Settings;
|
||||
|
||||
namespace Penumbra.Mods.SubMods;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue